diff options
author | Yuwei Wang <wangyuweihx@gmail.com> | 2022-06-29 10:48:32 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-06-30 13:14:35 +0200 |
commit | 211da42eaa45db7b0edfde187dd88a85fbd466b5 (patch) | |
tree | c6ee46505746d9109d1e4aaff25c15a00b34da27 /net/ipv6 | |
parent | sysctl: add proc_dointvec_ms_jiffies_minmax (diff) | |
download | linux-211da42eaa45db7b0edfde187dd88a85fbd466b5.tar.xz linux-211da42eaa45db7b0edfde187dd88a85fbd466b5.zip |
net, neigh: introduce interval_probe_time_ms for periodic probe
commit ed6cd6a17896 ("net, neigh: Set lower cap for neigh_managed_work rearming")
fixed a case when DELAY_PROBE_TIME is configured to 0, the processing of the
system work queue hog CPU to 100%, and further more we should introduce
a new option used by periodic probe
Signed-off-by: Yuwei Wang <wangyuweihx@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/ndisc.c | 1 |
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, |