From 924c8a610d3acb186248dd7256e8787cf6a0e422 Mon Sep 17 00:00:00 2001 From: Jakub Kicinski Date: Wed, 9 Sep 2026 17:38:47 -0700 Subject: [PATCH] netlink: specs: conntrack: fix SCTP conntrack state names Correct the names of constants: Value 1 is SCTP_CONNTRACK_CLOSED, not "cloned". Value 6 is SCTP_CONNTRACK_SHUTDOWN_RECD, not "shutdown-received". Value 8 is SCTP_CONNTRACK_HEARTBEAT_SENT, there is no "shutdown-heartbeat" state. Note that there's also a value of 9 (HEARTBEAT_ACKED) but sctp_nla_policy caps the attribute at HEARTBEAT_SENT and HEARTBEAT_ACKED is marked no longer used in the header. Reviewed-by: Hangbin Liu Link: https://patch.msgid.link/20260910003852.2184031-4-kuba@kernel.org Signed-off-by: Jakub Kicinski --- Documentation/netlink/specs/conntrack.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/netlink/specs/conntrack.yaml b/Documentation/netlink/specs/conntrack.yaml index 174697ce125e..105b53d4b76a 100644 --- a/Documentation/netlink/specs/conntrack.yaml +++ b/Documentation/netlink/specs/conntrack.yaml @@ -72,14 +72,14 @@ definitions: type: enum entries: - none - - cloned + - closed - cookie-wait - cookie-echoed - established - shutdown-sent - - shutdown-received + - shutdown-recd - shutdown-ack-sent - - shutdown-heartbeat-sent + - heartbeat-sent - name: nf-ct-status type: flags