From: Ian Campbell <ian.campbell@citrix.com>
To: netdev@vger.kernel.org
Cc: Ian Campbell <ian.campbell@citrix.com>,
Stephen Hemminger <shemminger@linux-foundation.org>,
Jeremy Fitzhardinge <jeremy@goop.org>,
"David S. Miller" <davem@davemloft.net>,
xen-devel@lists.xensource.com, stable@kernel.org
Subject: [PATCH 3/3] xen: netfront: explicitly generate arp_notify event after migration.
Date: Wed, 26 May 2010 11:09:43 +0100 [thread overview]
Message-ID: <1274868583-26291-3-git-send-email-ian.campbell@citrix.com> (raw)
In-Reply-To: <1274868492.24218.7350.camel@zakaz.uk.xensource.com>
Use newly introduced netif_notify_peers() method to ensure a gratuitous ARP is
generated after a migration.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Stephen Hemminger <shemminger@linux-foundation.org>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: David S. Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Cc: xen-devel@lists.xensource.com
Cc: stable@kernel.org
---
drivers/net/xen-netfront.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c
index d504e2b..b50fedc 100644
--- a/drivers/net/xen-netfront.c
+++ b/drivers/net/xen-netfront.c
@@ -1621,6 +1621,7 @@ static void backend_changed(struct xenbus_device *dev,
if (xennet_connect(netdev) != 0)
break;
xenbus_switch_state(dev, XenbusStateConnected);
+ netif_notify_peers(netdev);
break;
case XenbusStateClosing:
--
1.5.6.5
next prev parent reply other threads:[~2010-05-26 10:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-12 13:39 [PATCH 0/2] fixes to arp_notify for virtual machine migration use case Ian Campbell
2010-05-12 13:40 ` [PATCH] arp_notify: generate broadcast ARP reply not request Ian Campbell
2010-05-12 13:40 ` [PATCH] arp_notify: generate arp_notify event on NETDEV_CHANGE too Ian Campbell
2010-05-24 6:37 ` [PATCH 0/2] fixes to arp_notify for virtual machine migration use case David Miller
2010-05-25 9:20 ` Ian Campbell
2010-05-26 6:08 ` David Miller
2010-05-26 10:08 ` Ian Campbell
2010-05-26 10:09 ` [PATCH 1/3] arp_notify: document that a gratuitous ARP request is sent when this option is enabled Ian Campbell
2010-05-26 10:09 ` [PATCH 2/3] arp_notify: allow drivers to explicitly request a notification event Ian Campbell
2010-05-26 10:09 ` Ian Campbell [this message]
2010-05-31 7:32 ` [PATCH 0/2] fixes to arp_notify for virtual machine migration use case David Miller
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=1274868583-26291-3-git-send-email-ian.campbell@citrix.com \
--to=ian.campbell@citrix.com \
--cc=davem@davemloft.net \
--cc=jeremy@goop.org \
--cc=netdev@vger.kernel.org \
--cc=shemminger@linux-foundation.org \
--cc=stable@kernel.org \
--cc=xen-devel@lists.xensource.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).