diff options
author | Ian Campbell <Ian.Campbell@citrix.com> | 2010-05-26 02:09:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-31 09:27:44 +0200 |
commit | 592970675c9522bde588b945388c7995c8b51328 (patch) | |
tree | 3e8ce1dc4f3566ae5c035c80e2e21e8f7e449ec1 /drivers/net/xen-netfront.c | |
parent | arp_notify: allow drivers to explicitly request a notification event. (diff) | |
download | linux-592970675c9522bde588b945388c7995c8b51328.tar.xz linux-592970675c9522bde588b945388c7995c8b51328.zip |
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, if (xennet_connect(netdev) != 0) break; xenbus_switch_state(dev, XenbusStateConnected); + netif_notify_peers(netdev); break; case XenbusStateClosing: |