All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tsutomu Fujii <t-fujii@nb.jp.nec.com>
To: netdev@vger.kernel.org
Subject: Bonding in active-backup mode with arp monitoring on Xen
Date: Thu, 27 Mar 2008 21:49:04 +0900	[thread overview]
Message-ID: <47EB97C0.5010203@nb.jp.nec.com> (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

--- a/drivers/net/bonding/bond_main.c	2008-03-26 10:38:14.000000000 +0900
+++ b/drivers/net/bonding/bond_main.c	2008-03-27 19:39:06.000000000 +0900
@@ -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);
 		}
 	}

             reply	other threads:[~2008-03-27 12:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-27 12:49 Tsutomu Fujii [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-10-29  1:16 Bonding in active-backup mode with arp monitoring on Xen Tsutomu Fujii
2007-10-30 21:48 ` Jay Vosburgh
2007-10-31 11:08   ` Tsutomu Fujii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47EB97C0.5010203@nb.jp.nec.com \
    --to=t-fujii@nb.jp.nec.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.