projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06c4648
)
xen: netfront: explicitly generate arp_notify event after migration.
author
Ian Campbell
<
[email protected]
>
Wed, 26 May 2010 00:09:43 +0000
(
00:09
+0000)
committer
David S. Miller
<
[email protected]
>
Mon, 31 May 2010 07:27:44 +0000
(
00:27
-0700)
Use newly introduced netif_notify_peers() method to ensure a gratuitous ARP is
generated after a migration.
Signed-off-by: Ian Campbell <
[email protected]
>
Cc: Stephen Hemminger <
[email protected]
>
Cc: Jeremy Fitzhardinge <
[email protected]
>
Cc: David S. Miller <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/xen-netfront.c
patch
|
blob
|
history
diff --git
a/drivers/net/xen-netfront.c
b/drivers/net/xen-netfront.c
index d504e2b6025705ded7ee1ac4524791818d8c5ec5..b50fedcef8ac9dd9872a51ed63cb0b6c3135c778 100644
(file)
--- 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: