]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit2f4deb1edd3fc0e9e508f206f7a84c668eb0ceee
tree8b9f64e74f795d461cb121425ddd2b1eaf911242
parent5026c3a4ad650eeeb71daa720b15ce42028107ca
[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