diff options
| author | Gabriel Goller <g.goller@proxmox.com> | 2026-02-23 11:12:54 +0100 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-02-24 17:17:06 -0800 |
| commit | 3197cce4d48c1e5f159f8f24a4e3b9bd83385c14 (patch) | |
| tree | d06911da72e8d937efc756abcd0913cea7f5641f /Documentation/networking | |
| parent | 54ef3e6bbeb2b66ddefebc2155bbea6f32ea0bbb (diff) | |
| download | linux-next-3197cce4d48c1e5f159f8f24a4e3b9bd83385c14.tar.gz linux-next-3197cce4d48c1e5f159f8f24a4e3b9bd83385c14.zip | |
docs: net: document neigh gc_stale_time sysctl
Add missing documentation for a neighbor table garbage collector sysctl
parameter in ip-sysctl.rst:
neigh/default/gc_stale_time: controls how long an unused neighbor entry
is kept before becoming eligible for garbage collection (default: 60
seconds)
Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
Link: https://patch.msgid.link/20260223101257.47563-1-g.goller@proxmox.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/networking')
| -rw-r--r-- | Documentation/networking/ip-sysctl.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/networking/ip-sysctl.rst b/Documentation/networking/ip-sysctl.rst index 6921d8594b84..9c90333530fa 100644 --- a/Documentation/networking/ip-sysctl.rst +++ b/Documentation/networking/ip-sysctl.rst @@ -202,6 +202,17 @@ neigh/default/gc_thresh3 - INTEGER Default: 1024 +neigh/default/gc_stale_time - INTEGER + Determines how long a neighbor entry can remain unused before it is + considered stale and eligible for garbage collection. Entries that have + not been used for longer than this time will be removed by the garbage + collector, unless they have active references, are marked as PERMANENT, + or carry the NTF_EXT_LEARNED or NTF_EXT_VALIDATED flag. Stale entries + are only removed by the periodic GC when there are at least gc_thresh1 + neighbors in the table. + + Default: 60 seconds + neigh/default/unres_qlen_bytes - INTEGER The maximum number of bytes which may be used by packets queued for each unresolved address by other network layers. |
