netfilter: annotate nf_tables base hook ops
authorFlorian Westphal <fw@strlen.de>
Fri, 4 Jun 2021 10:27:06 +0000 (12:27 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 7 Jun 2021 10:23:38 +0000 (12:23 +0200)
commit7b4b2fa37587394fb89fa51a4bea0820a1b37a5d
tree75f08548b3079f0333a85a4daf5dfb216680fb6a
parent1d91d2e1a7f767aa8c11d8507ecf268f787734ec
netfilter: annotate nf_tables base hook ops

This will allow a followup patch to treat the 'ops->priv' pointer
as nft_chain argument without having to first walk the table/chains
to check if there is a matching base chain pointer.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter.h
net/netfilter/nf_tables_api.c