OSDN Git Service

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)
commit0974cff3eb66764cc86b60f1071958acc432a4e8
tree7053d9d5aa8d8a9380d3184e955b916e60419377
parenta58db7ad80e89dab014bd2d769c233eeca1bf519
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