android_kernel_samsung_msm8976/drivers/net/bonding
Jay Vosburgh c4f283b1f2 bonding: fix double dev_add_pack
Bonding can erroneously register the same packet_type to receive
ARPs (for use by ARP validation): once at device open time, and once via
sysfs.  Since sysfs can change the validate setting (and thus register
or unregister) at any time, a flag is needed to synchronize with device
open in order to avoid double registrations, and the simplest place is
within the packet_type structure itself.  Double unregister is not an
issue.

	Bug reported by Ulrich Oelmann <ulrich.oelmann@web.de>.

Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-03-06 06:08:11 -05:00
..
bond_3ad.c [PATCH] bonding: Don't mangle LACPDUs 2006-09-25 20:08:09 -04:00
bond_3ad.h [PATCH] bonding: support carrier state for master 2006-03-29 17:34:02 -05:00
bond_alb.c [BONDING]: Replace kmalloc() + memset() pairs with the appropriate kzalloc() calls 2007-02-08 12:38:59 -08:00
bond_alb.h [bonding] Remove superfluous changelog. 2005-11-28 13:54:22 -05:00
bond_main.c bonding: fix double dev_add_pack 2007-03-06 06:08:11 -05:00
bond_sysfs.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
bonding.h bonding: update version 2007-02-05 16:58:47 -05:00
Makefile [PATCH] bonding: add sysfs functionality to bonding (large) 2005-11-13 14:48:21 -05:00