Files
linux/net
Ian Campbell d54bb28bc9 arp_notify: unconditionally send gratuitous ARP for NETDEV_NOTIFY_PEERS.
commit d11327ad66 upstream.

NETDEV_NOTIFY_PEER is an explicit request by the driver to send a link
notification while NETDEV_UP/NETDEV_CHANGEADDR generate link
notifications as a sort of side effect.

In the later cases the sysctl option is present because link
notification events can have undesired effects e.g. if the link is
flapping. I don't think this applies in the case of an explicit
request from a driver.

This patch makes NETDEV_NOTIFY_PEER unconditional, if preferred we
could add a new sysctl for this case which defaults to on.

This change causes Xen post-migration ARP notifications (which cause
switches to relearn their MAC tables etc) to be sent by default.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[reported to solve hyperv live migration problem - gkh]
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Mike Surcouf <mike@surcouf.co.uk>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-07 15:17:59 -08:00
..
2009-05-25 01:53:53 -07:00
2010-02-09 04:50:56 -08:00
2010-12-09 13:27:10 -08:00
2009-09-26 20:16:15 -07:00
2011-03-07 15:17:57 -08:00
2010-12-09 13:27:12 -08:00
2009-05-25 01:53:53 -07:00
2009-09-02 01:03:53 -07:00
2010-08-26 16:41:55 -07:00
2011-02-17 15:37:24 -08:00
2009-07-12 12:22:34 -07:00
2011-03-02 09:47:07 -05:00
2009-09-02 01:03:53 -07:00