[PATCH] uml: multicast driver cleanup
authorJeff Dike <jdike@addtoit.com>
Fri, 20 May 2005 20:59:09 +0000 (13:59 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 20 May 2005 22:48:17 +0000 (15:48 -0700)
commit7c00c31fc0f003363773121a0ac6f4e5b128e879
tree8b9f64e74f795d461cb121425ddd2b1eaf911242
parent060e352236ece3325a684c72817fbacdac597574
[PATCH] uml: multicast driver cleanup

Byte-swapping of the port and IP address passed in to the multicast driver by
the user used to happen in different places, which was a bug in itself.  The
port also was swapped before being printk-ed, which led to a misleading
message.  This patch moves the port swapping to the same place as the IP
address swapping.  It also cleans up the error paths of mcast_open.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/drivers/mcast_kern.c
arch/um/drivers/mcast_user.c