mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
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:
parent
f869aa4cea
commit
55edd9e557
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user