]> www.infradead.org Git - users/willy/linux.git/commit
netfilter: nf_tables: Introduce nf_tables_getobj_single
authorPhil Sutter <phil@nwl.cc>
Fri, 9 Aug 2024 13:07:31 +0000 (15:07 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 14 Aug 2024 21:37:44 +0000 (23:37 +0200)
commit69fc3e9e90f1afc11f4015e6b75d18ab9acee348
tree499cc74ea6a9fc98d7544ebae1a454beab121736
parente0b6648b0446e59522819c75ba1dcb09e68d3e94
netfilter: nf_tables: Introduce nf_tables_getobj_single

Outsource the reply skb preparation for non-dump getrule requests into a
distinct function. Prep work for object reset locking.

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/nf_tables_api.c