]> Pileus Git - ~andy/linux/commit
bonding: remove test for IP in ARP monitor
authorJay Vosburgh <fubar@us.ibm.com>
Sun, 18 May 2008 04:10:08 +0000 (21:10 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 22 May 2008 10:34:18 +0000 (06:34 -0400)
commit4b8a9239ee708958ed72722a0e5e0cf34243ad26
tree6ec9644e7426d8c23508cb0924dfc71e1474426b
parent5ce0da8f0386b62345312ec8fed31303732f4220
bonding: remove test for IP in ARP monitor

Remove bond_has_ip and all references to it.  With this change,
the ARP monitor will always send ARP probes if the master is up and has
at least one slave.  If the bond has an IP address, it is used in the
ARP probe; if not, the probes are sent with all zeros in the sender's
IP address (which is consistent with an RFC 2131 4.4.1 duplicate address
probe).

This is useful for cases when bonding itself is hidden underneath
a layer of virtual devices, e.g., with Xen.

Change suggested by Tsutomu Fujii <t-fujii@nb.jp.nec.com>, who
included a one-line patch that only affected active-backup mode.

Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/bonding/bond_main.c