From 55edd9e55711e7e47060fb998a96e968a895fc20 Mon Sep 17 00:00:00 2001 From: Jakub Kicinski Date: Wed, 9 Sep 2026 17:38:51 -0700 Subject: [PATCH] netlink: specs: conntrack: tweak definition of obsolete attrs CTA_SECMARK, CTA_COUNTERS32_{PACKETS,BYTES} are all obsolete be32 attrs. Since they are obsolete we don't bother with the byte-order annotation, but let's be consistent about marking them as u32 with doc: obsolete. The attrs were obsoleted by: commit 584015727a3b ("netfilter: accounting rework: ct_extend + 64bit counters (v4)") commit 1cc63249adfa ("conntrack: export lsm context rather than internal secid via netlink") Reviewed-by: Hangbin Liu Link: https://patch.msgid.link/20260910003852.2184031-8-kuba@kernel.org Signed-off-by: Jakub Kicinski --- Documentation/netlink/specs/conntrack.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/netlink/specs/conntrack.yaml b/Documentation/netlink/specs/conntrack.yaml index 9ba93370275d..1d163130241a 100644 --- a/Documentation/netlink/specs/conntrack.yaml +++ b/Documentation/netlink/specs/conntrack.yaml @@ -116,9 +116,11 @@ attribute-sets: - name: packets-old type: u32 + doc: obsolete - name: bytes-old type: u32 + doc: obsolete - name: pad type: pad @@ -465,7 +467,7 @@ attribute-sets: nested-attributes: seqadj-attrs - name: secmark - type: binary + type: u32 doc: obsolete - name: zone