[PATCH] bonding: Validate probe replies in ARP monitor
authorJay Vosburgh <fubar@us.ibm.com>
Sat, 23 Sep 2006 04:54:53 +0000 (21:54 -0700)
committerJeff Garzik <jeff@garzik.org>
Tue, 26 Sep 2006 00:08:09 +0000 (20:08 -0400)
commitf5b2b966f032f22d3a289045a5afd4afa09f09c6
treecb3c505d8f444438bed09353788f6c96150f68ad
parent70298705bb29fb7982b85089adf17cd37b94baa7
[PATCH] bonding: Validate probe replies in ARP monitor

Add logic to check ARP request / reply packets used for ARP
monitor link integrity checking.

The current method simply examines the slave device to see if it
has sent and received traffic; this can be fooled by extraneous traffic.
For example, if multiple hosts running bonding are behind a common
switch, the probe traffic from the multiple instances of bonding will
update the tx/rx times on each other's slave devices.

Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Documentation/networking/bonding.txt
drivers/net/bonding/bond_main.c
drivers/net/bonding/bond_sysfs.c
drivers/net/bonding/bonding.h
include/linux/if.h
include/linux/netdevice.h