aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/ip_options.c
diff options
context:
space:
mode:
authorJay Vosburgh <fubar@us.ibm.com>2007-02-28 17:03:20 -0800
committerJeff Garzik <jeff@garzik.org>2007-03-06 06:08:11 -0500
commitc4f283b1f275e5528c13c119e5cfc80cdba55d00 (patch)
tree2d5b172fe18c84029619b3a5dca524a24f9c4e49 /net/ipv4/ip_options.c
parentc3442e296517aee733d62fc3fe03211598902c7d (diff)
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>
Diffstat (limited to 'net/ipv4/ip_options.c')
0 files changed, 0 insertions, 0 deletions