aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/ndisc.c
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2022-06-30 11:14:38 +0000
committerPaolo Abeni <[email protected]>2022-06-30 11:14:38 +0000
commitbf48c3fae6d78d6418f62bd3259cd62dd16f83ec (patch)
treec6ee46505746d9109d1e4aaff25c15a00b34da27 /net/ipv6/ndisc.c
parentatheros/atl1c:fix repeated words in comments (diff)
parentnet, neigh: introduce interval_probe_time_ms for periodic probe (diff)
downloadkernel-bf48c3fae6d78d6418f62bd3259cd62dd16f83ec.tar.gz
kernel-bf48c3fae6d78d6418f62bd3259cd62dd16f83ec.zip
Merge branch 'net-neigh-introduce-interval_probe_time-for-periodic-probe'
Yuwei Wang says: ==================== net, neigh: introduce interval_probe_time for periodic probe This series adds a new option `interval_probe_time_ms` in net, neigh for periodic probe, and add a limitation to prevent it set to 0 ==================== Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/ipv6/ndisc.c')
-rw-r--r--net/ipv6/ndisc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c
index b0dfe97ea4ee..cd84cbdac0a2 100644
--- a/net/ipv6/ndisc.c
+++ b/net/ipv6/ndisc.c
@@ -128,6 +128,7 @@ struct neigh_table nd_tbl = {
[NEIGH_VAR_RETRANS_TIME] = ND_RETRANS_TIMER,
[NEIGH_VAR_BASE_REACHABLE_TIME] = ND_REACHABLE_TIME,
[NEIGH_VAR_DELAY_PROBE_TIME] = 5 * HZ,
+ [NEIGH_VAR_INTERVAL_PROBE_TIME_MS] = 5 * HZ,
[NEIGH_VAR_GC_STALETIME] = 60 * HZ,
[NEIGH_VAR_QUEUE_LEN_BYTES] = SK_WMEM_MAX,
[NEIGH_VAR_PROXY_QLEN] = 64,