]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
netfilter: add helper function to set up the nfnetlink header and use it
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 30 Mar 2021 14:58:37 +0000 (16:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Aug 2022 09:38:11 +0000 (11:38 +0200)
commitbd6165b8023288a8a6fe0d65b7b446e69596fdbb
tree8d78d5bbee0a083550566b415cef439bcfea1d67
parent06fde3cd0b536ad5f992af08af114deba362fe36
netfilter: add helper function to set up the nfnetlink header and use it

[ Upstream commit 19c28b1374fb1073a9ec873a6c10bf5f16b10b9d ]

This patch adds a helper function to set up the netlink and nfnetlink headers.
Update existing codebase to use it.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/netfilter/nfnetlink.h
net/netfilter/ipset/ip_set_core.c
net/netfilter/nf_conntrack_netlink.c
net/netfilter/nf_tables_api.c
net/netfilter/nf_tables_trace.c
net/netfilter/nfnetlink_acct.c
net/netfilter/nfnetlink_cthelper.c
net/netfilter/nfnetlink_cttimeout.c
net/netfilter/nfnetlink_log.c
net/netfilter/nfnetlink_queue.c
net/netfilter/nft_compat.c