summaryrefslogtreecommitdiffstats
path: root/arch/um/os-Linux/Makefile
diff options
context:
space:
mode:
authorBodo Stroesser <bstroesser@fujitsu-siemens.com>2005-11-07 09:58:47 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-07 16:53:30 +0100
commit0e76422ca5f34bb43b97c0945646ef072bcc1776 (patch)
treeebd8509a9e94b01121c3da1b44a4df02ef60f973 /arch/um/os-Linux/Makefile
parent[PATCH] uml: fix syscall stubs (diff)
downloadlinux-0e76422ca5f34bb43b97c0945646ef072bcc1776.tar.xz
linux-0e76422ca5f34bb43b97c0945646ef072bcc1776.zip
[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>
Diffstat (limited to 'arch/um/os-Linux/Makefile')
0 files changed, 0 insertions, 0 deletions