[PATCH ipsec-next] docs: xfrm: Fix the two aevent sysctl paths

Subsystems: documentation, networking [general], networking [ipsec], the rest

COLD36d

2 messages, 2 authors, 2026-09-05 · open the first message on its own page

[PATCH ipsec-next] docs: xfrm: Fix the two aevent sysctl paths

From: Karl Mehltretter <hidden>
Date: 2026-09-05 10:46:33

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.

Fixes: b8a99520f78e ("[XFRM]: Add documentation for async events.")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <redacted>
---
 Documentation/networking/xfrm/xfrm_sync.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/networking/xfrm/xfrm_sync.rst b/Documentation/networking/xfrm/xfrm_sync.rst
index dfc2ec0df380..27e3d151b11e 100644
--- a/Documentation/networking/xfrm/xfrm_sync.rst
+++ b/Documentation/networking/xfrm/xfrm_sync.rst
@@ -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.
-- 
2.53.0

Re: [PATCH ipsec-next] docs: xfrm: Fix the two aevent sysctl paths

From: Randy Dunlap <rdunlap@infradead.org>
Date: 2026-09-05 19:29:14


On 9/5/26 3:46 AM, Karl Mehltretter wrote:
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.

Fixes: b8a99520f78e ("[XFRM]: Add documentation for async events.")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <redacted>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
thanks.
quoted hunk
---
 Documentation/networking/xfrm/xfrm_sync.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/networking/xfrm/xfrm_sync.rst b/Documentation/networking/xfrm/xfrm_sync.rst
index dfc2ec0df380..27e3d151b11e 100644
--- a/Documentation/networking/xfrm/xfrm_sync.rst
+++ b/Documentation/networking/xfrm/xfrm_sync.rst
@@ -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.
-- 
~Randy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help