]> git.ipfire.org Git - thirdparty/linux.git/commit
netfilter: nfnetlink: New NFNLA_HOOK_INFO_DESC helper
authorPhil Sutter <phil@nwl.cc>
Tue, 8 Jul 2025 13:04:01 +0000 (15:04 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 25 Jul 2025 16:39:51 +0000 (18:39 +0200)
commitb65504e7cf0a99eb75bbed0d1ef22950c080d84a
treebfa3029fd278c1b74e81be5e60281fe29da80859
parentbfabc4f70ee72809f1de662e971ac55648981a31
netfilter: nfnetlink: New NFNLA_HOOK_INFO_DESC helper

Introduce a helper routine adding the nested attribute for use by a
second caller later.

Note how this introduces cancelling of 'nest2' for categorical reasons.
Since always followed by cancelling of the outer 'nest', it is
technically not needed.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Reviewed-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nfnetlink_hook.c