linux-stable-rt/arch/um
Bodo Stroesser 0e76422ca5 [PATCH] uml: fix UML network driver endianness bugs
ifa->ifa_address and ifa->ifa_mask are defined as __u32, but used as if they
were char[4].

Network code uses htons() to convert it.  So UML's method to access these
fields is wrong for bigendians (e.g.  s390)

I replaced bytewise copying by memcpy(), maybe even that might be removed, if
ifa->ifa_address/mask may be used immediately.

Signed-off-by: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo Giarrusso <blaisorblade@yahoo.it>
Cc: <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-07 07:53:30 -08:00
..
drivers [PATCH] uml: fix UML network driver endianness bugs 2005-11-07 07:53:30 -08:00
include [PATCH] uml: fix UML network driver endianness bugs 2005-11-07 07:53:30 -08:00
kernel [PATCH] uml: improve stub debugging 2005-11-07 07:53:30 -08:00
os-Linux [PATCH] uml: revert block driver use of host AIO 2005-10-12 08:22:26 -07:00
scripts [PATCH] uml: allow building .s/.i/.lst files from userspace files 2005-10-10 08:36:00 -07:00
sys-i386 [PATCH] uml: Fix sysrq-r support for skas mode 2005-10-04 13:22:01 -07:00
sys-ia64
sys-ppc
sys-x86_64 [PATCH] uml: fix x86_64 with !CONFIG_FRAME_POINTER 2005-10-10 08:37:59 -07:00
Kconfig [PATCH] uml: fix "reuse i386 cpu optimizations" 2005-10-30 17:37:16 -08:00
Kconfig.char
Kconfig.debug
Kconfig.i386
Kconfig.net
Kconfig.scsi
Kconfig.x86_64 [PATCH] uml: fix "reuse i386 cpu optimizations" 2005-10-30 17:37:16 -08:00
Makefile [PATCH] Uml: hide commands when not being verbose 2005-10-10 08:36:00 -07:00
Makefile-i386 [PATCH] uml: remove old UM_FASTCALL, and make the thing work again 2005-10-30 17:37:16 -08:00
Makefile-ia64
Makefile-os-Linux
Makefile-ppc
Makefile-skas
Makefile-tt
Makefile-x86_64
config.release
defconfig