mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
rtsock: Add sysctl flag CTLFLAG_TUN to loader tunable
The sysctl variable `net.route.netisr_maxqlen` is actually a loader tunable. Add sysctl flag CTLFLAG_TUN to it so that `sysctl -T` will report it correctly. No functional change intended. Reviewed by: glebius MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D41928
This commit is contained in:
parent
28035f675b
commit
21a722d959
1 changed files with 1 additions and 1 deletions
|
|
@ -241,7 +241,7 @@ sysctl_route_netisr_maxqlen(SYSCTL_HANDLER_ARGS)
|
|||
return (netisr_setqlimit(&rtsock_nh, qlimit));
|
||||
}
|
||||
SYSCTL_PROC(_net_route, OID_AUTO, netisr_maxqlen,
|
||||
CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_MPSAFE,
|
||||
CTLTYPE_INT | CTLFLAG_RWTUN | CTLFLAG_NOFETCH | CTLFLAG_MPSAFE,
|
||||
0, 0, sysctl_route_netisr_maxqlen, "I",
|
||||
"maximum routing socket dispatch queue length");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue