aboutsummaryrefslogtreecommitdiffstats
path: root/init/do_mounts.c
diff options
context:
space:
mode:
authorIan Campbell <Ian.Campbell@citrix.com>2011-02-11 07:44:16 +0000
committerDavid S. Miller <davem@davemloft.net>2011-02-14 17:47:15 -0800
commitd11327ad6695db8117c78d70611e71102ceec2ac (patch)
tree02d76a5825c357d0383268d9502c886abc8c9987 /init/do_mounts.c
parentcxgb4vf: Use defined Mailbox Timeout (diff)
downloadlinux-dev-d11327ad6695db8117c78d70611e71102ceec2ac.tar.xz
linux-dev-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 'init/do_mounts.c')
0 files changed, 0 insertions, 0 deletions