diff options
author | Ian Campbell | 2011-02-11 08:44:16 +0100 |
---|---|---|
committer | David S. Miller | 2011-02-15 02:47:15 +0100 |
commit | d11327ad6695db8117c78d70611e71102ceec2ac (patch) | |
tree | 02d76a5825c357d0383268d9502c886abc8c9987 /drivers | |
parent | cxgb4vf: Use defined Mailbox Timeout (diff) | |
download | kernel-qcow2-linux-d11327ad6695db8117c78d70611e71102ceec2ac.tar.gz kernel-qcow2-linux-d11327ad6695db8117c78d70611e71102ceec2ac.tar.xz kernel-qcow2-linux-d11327ad6695db8117c78d70611e71102ceec2ac.zip |
arp_notify: unconditionally send gratuitous ARP for NETDEV_NOTIFY_PEERS.
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions