Skip to contentSkip to conversation

Bonding in active-backup mode with arp monitoring on Xen

PATCH Tsutomu Fujii 1 participant 1 message Mar 27, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi.

A little while ago I posted a patch to fix the communication problem when bonding was used in active-backup mode with arp monitoring on Xen guest OS.

http://marc.info/?l=linux-netdev&m=119362063924723&w=2

I have rebased the patch to the latest 2.6.25-rc7 kernel.

I've confirmed that active-backup mode works fine with arp monitoring with this patch.

Thanks.

--
Tsutomu fujii

drivers/net/bonding/bond_main.c +1 -1
@@ -3003,7 +3003,7 @@
 		/* the current slave must tx an arp to ensure backup slaves
 		 * rx traffic
 		 */
-		if (slave && bond_has_ip(bond)) {
+		if (slave && IS_UP(slave->dev)) {
 			bond_arp_send_all(bond, slave);
 		}
 	}