]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - net/netfilter/nf_tables_api.c
netfilter: nf_tables: prepare nft_object for lookups via hashtable
authorFlorian Westphal <fw@strlen.de>
Tue, 8 Jan 2019 14:45:58 +0000 (15:45 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 18 Jan 2019 14:02:32 +0000 (15:02 +0100)
commitd152159b89118841ebc0f7be2aadf79a22c6c501
treef5c0e8b5cf3e1c8028e8aaf894714f20fb9dfc57
parent435f3f267780321a1aff41bdade257722328ead5
netfilter: nf_tables: prepare nft_object for lookups via hashtable

Add a 'key' structure for object, so we can look them up by name + table
combination (the name can be the same in each table).

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