diff options
author | Ian Campbell <Ian.Campbell@citrix.com> | 2010-05-25 20:09:43 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-31 03:27:44 -0400 |
commit | 592970675c9522bde588b945388c7995c8b51328 (patch) | |
tree | 3e8ce1dc4f3566ae5c035c80e2e21e8f7e449ec1 /drivers/net/xen-netfront.c | |
parent | 06c4648d46d1b757d6b9591a86810be79818b60c (diff) |
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@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
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netfront.c')
-rw-r--r-- | 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 d504e2b60257..b50fedcef8ac 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, | |||
1621 | if (xennet_connect(netdev) != 0) | 1621 | if (xennet_connect(netdev) != 0) |
1622 | break; | 1622 | break; |
1623 | xenbus_switch_state(dev, XenbusStateConnected); | 1623 | xenbus_switch_state(dev, XenbusStateConnected); |
1624 | netif_notify_peers(netdev); | ||
1624 | break; | 1625 | break; |
1625 | 1626 | ||
1626 | case XenbusStateClosing: | 1627 | case XenbusStateClosing: |