mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
xen: netfront: explicitly generate arp_notify event after migration.
commit 592970675c upstream.
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
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
ac33b999ca
commit
14de30d50e
|
|
@ -1619,6 +1619,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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user