[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1274868583-26291-3-git-send-email-ian.campbell@citrix.com>
Date: Wed, 26 May 2010 11:09:43 +0100
From: Ian Campbell <ian.campbell@...rix.com>
To: netdev@...r.kernel.org
Cc: Ian Campbell <ian.campbell@...rix.com>,
Stephen Hemminger <shemminger@...ux-foundation.org>,
Jeremy Fitzhardinge <jeremy@...p.org>,
"David S. Miller" <davem@...emloft.net>,
xen-devel@...ts.xensource.com, stable@...nel.org
Subject: [PATCH 3/3] xen: netfront: explicitly generate arp_notify event after migration.
Use newly introduced netif_notify_peers() method to ensure a gratuitous ARP is
generated after a migration.
Signed-off-by: Ian Campbell <ian.campbell@...rix.com>
Cc: Stephen Hemminger <shemminger@...ux-foundation.org>
Cc: Jeremy Fitzhardinge <jeremy@...p.org>
Cc: David S. Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Cc: xen-devel@...ts.xensource.com
Cc: stable@...nel.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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists