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 584015727a ("netfilter: accounting rework: ct_extend + 64bit counters (v4)")
commit 1cc63249ad ("conntrack: export lsm context rather than internal secid via netlink")

Reviewed-by: Hangbin Liu <liuhangbin@kylinos.cn>
Link: https://patch.msgid.link/20260910003852.2184031-8-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Jakub Kicinski 2026-09-09 17:38:51 -07:00
parent f869aa4cea
commit 55edd9e557

View File

@ -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