]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net: neighbour: Add mcast_resolicit to configure the number of multicast resolicitati...
authorYOSHIFUJI Hideaki/吉藤英明 <hideaki.yoshifuji@miraclelinux.com>
Thu, 19 Mar 2015 13:41:46 +0000 (22:41 +0900)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Mar 2015 01:47:40 +0000 (21:47 -0400)
commit8da86466b83787df0d4b89ec81c310de072d101c
tree496f60fc435a832ff6e764c02c2cea9f9befebc4
parentfc300dc3733fdc328e6e10c7b8379b60c26cd648
net: neighbour: Add mcast_resolicit to configure the number of multicast resolicitations in PROBE state.

We send unicast neighbor (ARP or NDP) solicitations ucast_probes
times in PROBE state.  Zhu Yanjun reported that some implementation
does not reply against them and the entry will become FAILED, which
is undesirable.

We had been dealt with such nodes by sending multicast probes mcast_
solicit times after unicast probes in PROBE state.  In 2003, I made
a change not to send them to improve compatibility with IPv6 NDP.

Let's introduce per-protocol per-interface sysctl knob "mcast_
reprobe" to configure the number of multicast (re)solicitation for
reconfirmation in PROBE state.  The default is 0, since we have
been doing so for 10+ years.

Reported-by: Zhu Yanjun <Yanjun.Zhu@windriver.com>
CC: Ulf Samuelsson <ulf.samuelsson@ericsson.com>
Signed-off-by: YOSHIFUJI Hideaki <hideaki.yoshifuji@miraclelinux.com>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/neighbour.h
include/uapi/linux/neighbour.h
net/core/neighbour.c