summary refs log tree commit diff
path: root/net/6lowpan/nhc_udp.c
diff options
context:
space:
mode:
authorDavid Ahern <dsa@cumulusnetworks.com>2017-04-22 09:10:13 -0700
committerDavid S. Miller <davem@davemloft.net>2017-04-24 14:07:18 -0400
commitfc1f8f4f310ac65b1337e2d7ba52ae4ff2b7c849 (patch)
tree2bade33a266614f621dae64b929322ec52d04ba2 /net/6lowpan/nhc_udp.c
parent9199cb7677b388b42e3d95c755090dfc5ab2b11a (diff)
downloadlinux-fc1f8f4f310ac65b1337e2d7ba52ae4ff2b7c849.tar.gz
net: ipv6: send unsolicited NA if enabled for all interfaces
When arp_notify is set to 1 for either a specific interface or for 'all'
interfaces, gratuitous arp requests are sent. Since ndisc_notify is the
ipv6 equivalent to arp_notify, it should follow the same semantics.
Commit 4a6e3c5def13 ("net: ipv6: send unsolicited NA on admin up") sends
the NA on admin up. The final piece is checking devconf_all->ndisc_notify
in addition to the per device setting. Add it.

Fixes: 5cb04436eef6 ("ipv6: add knob to send unsolicited ND on link-layer address change")
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/6lowpan/nhc_udp.c')
0 files changed, 0 insertions, 0 deletions