]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: add and use nft_set_do_lookup helper
authorFlorian Westphal <fw@strlen.de>
Thu, 13 May 2021 20:29:55 +0000 (22:29 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 28 May 2021 19:11:41 +0000 (21:11 +0200)
commit03adcdd0195a21f333c6171a1e8da0496136d9c8
tree7053d9d5aa8d8a9380d3184e955b916e60419377
parenta7baa1d394367ffc1fa3fe824f5ca8ccb44ef5f0
netfilter: add and use nft_set_do_lookup helper

Followup patch will add a CONFIG_RETPOLINE wrapper to avoid
the ops->lookup() indirection cost for retpoline builds.

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