summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/neighbour.h
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki/吉藤英明2015-03-19 14:41:46 +0100
committerDavid S. Miller2015-03-21 02:47:40 +0100
commit8da86466b83787df0d4b89ec81c310de072d101c (patch)
tree496f60fc435a832ff6e764c02c2cea9f9befebc4 /include/uapi/linux/neighbour.h
parentbgmac: allow enabling on ARCH_BCM_5301X (diff)
downloadkernel-qcow2-linux-8da86466b83787df0d4b89ec81c310de072d101c.tar.gz
kernel-qcow2-linux-8da86466b83787df0d4b89ec81c310de072d101c.tar.xz
kernel-qcow2-linux-8da86466b83787df0d4b89ec81c310de072d101c.zip
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>
Diffstat (limited to 'include/uapi/linux/neighbour.h')
-rw-r--r--include/uapi/linux/neighbour.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/neighbour.h b/include/uapi/linux/neighbour.h
index 3873a35509aa..2e35c61bbdd1 100644
--- a/include/uapi/linux/neighbour.h
+++ b/include/uapi/linux/neighbour.h
@@ -126,6 +126,7 @@ enum {
NDTPA_PROXY_QLEN, /* u32 */
NDTPA_LOCKTIME, /* u64, msecs */
NDTPA_QUEUE_LENBYTES, /* u32 */
+ NDTPA_MCAST_REPROBES, /* u32 */
__NDTPA_MAX
};
#define NDTPA_MAX (__NDTPA_MAX - 1)