docs: xfrm: Fix the two aevent sysctl paths
Subsystems (4)
PATCH 1/1 docs: xfrm: Fix the two aevent sysctl paths
The sysctls are registered as xfrm_aevent_etime and xfrm_aevent_rseqth under net.core (net/xfrm/xfrm_sysctl.c). The document calls them sysctl_xfrm_aevent_etime and sysctl_xfrm_aevent_rseqth; those names appear nowhere in the code but in a comment in net/xfrm/xfrm_user.c and were never the proc file names.
Use the proc file names.
--- Documentation/networking/xfrm/xfrm_sync.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/networking/xfrm/xfrm_sync.rst +2 -2
@@ -120,12 +120,12 @@ in case they are not specified. the two sysctls/proc entries are: -a) /proc/sys/net/core/sysctl_xfrm_aevent_etime +a) /proc/sys/net/core/xfrm_aevent_etime Used to provide default values for the XFRMA_ETIMER_THRESH in incremental units of time of 100ms. The default is 10 (1 second) -b) /proc/sys/net/core/sysctl_xfrm_aevent_rseqth +b) /proc/sys/net/core/xfrm_aevent_rseqth Used to provide default values for XFRMA_REPLAY_THRESH parameter in incremental packet count. The default is two packets.
Signature · 1 line
2.53.0
Quoted 11 lines · Karl Mehltretter
The sysctls are registered as
xfrm_aevent_etimeandxfrm_aevent_rseqthunder net.core (net/xfrm/xfrm_sysctl.c). The document calls themsysctl_xfrm_aevent_etimeandsysctl_xfrm_aevent_rseqth; those names appear nowhere in the code but in a comment innet/xfrm/xfrm_user.cand were never the proc file names.Use the proc file names.
Fixes b8a99520f78e ("[XFRM]: Add documentation for async events.")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>
thanks.
Quoted 23 lines
--- Documentation/networking/xfrm/xfrm_sync.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Documentation/networking/xfrm/xfrm_sync.rst +2
-2@@ -120,12 +120,12 @@ in case they are not specified. the two sysctls/proc entries are: -a) /proc/sys/net/core/sysctl_xfrm_aevent_etime +a) /proc/sys/net/core/xfrm_aevent_etime Used to provide default values for the XFRMA_ETIMER_THRESH in incremental units of time of 100ms. The default is 10 (1 second) -b) /proc/sys/net/core/sysctl_xfrm_aevent_rseqth +b) /proc/sys/net/core/xfrm_aevent_rseqth Used to provide default values for XFRMA_REPLAY_THRESH parameter in incremental packet count. The default is two packets.
Signature · 1 line
~Randy
Steffen Klassert
maintainerQuoted 11 lines · Karl Mehltretter
The sysctls are registered as
xfrm_aevent_etimeandxfrm_aevent_rseqthunder net.core (net/xfrm/xfrm_sysctl.c). The document calls themsysctl_xfrm_aevent_etimeandsysctl_xfrm_aevent_rseqth; those names appear nowhere in the code but in a comment innet/xfrm/xfrm_user.cand were never the proc file names.Use the proc file names.
Fixes b8a99520f78e ("[XFRM]: Add documentation for async events.")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>
Now applied to ipsec-next.
Thanks a lot and sorry for the delay!