Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Gabriel Goller and committed by
Jakub Kicinski
3197cce4 54ef3e6b

+11
+11
Documentation/networking/ip-sysctl.rst
··· 202 202 203 203 Default: 1024 204 204 205 + neigh/default/gc_stale_time - INTEGER 206 + Determines how long a neighbor entry can remain unused before it is 207 + considered stale and eligible for garbage collection. Entries that have 208 + not been used for longer than this time will be removed by the garbage 209 + collector, unless they have active references, are marked as PERMANENT, 210 + or carry the NTF_EXT_LEARNED or NTF_EXT_VALIDATED flag. Stale entries 211 + are only removed by the periodic GC when there are at least gc_thresh1 212 + neighbors in the table. 213 + 214 + Default: 60 seconds 215 + 205 216 neigh/default/unres_qlen_bytes - INTEGER 206 217 The maximum number of bytes which may be used by packets 207 218 queued for each unresolved address by other network layers.