]> git.baikalelectronics.ru Git - kernel.git/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)
commit70e377764a96d578c36280fc04149ea90701498b
tree6ec9644e7426d8c23508cb0924dfc71e1474426b
parent77ad060d50de2e4e10e2255f7f29fab25a767c9f
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