aboutsummaryrefslogtreecommitdiff
path: root/include/net/netfilter/nf_tables.h
diff options
context:
space:
mode:
authorGravatar Pablo Neira Ayuso <pablo@netfilter.org> 2017-03-10 18:32:31 +0100
committerGravatar Pablo Neira Ayuso <pablo@netfilter.org> 2017-03-13 13:34:21 +0100
commite920dde5160887d07b738f5a7f593b1fa9b1e32e (patch)
tree947962b3ad71db1c28300ac83660820fe64c94c8 /include/net/netfilter/nf_tables.h
parentnetfilter: Force fake conntrack entry to be at least 8 bytes aligned (diff)
downloadlinux-e920dde5160887d07b738f5a7f593b1fa9b1e32e.tar.gz
linux-e920dde5160887d07b738f5a7f593b1fa9b1e32e.tar.bz2
linux-e920dde5160887d07b738f5a7f593b1fa9b1e32e.zip
netfilter: nft_set_bitmap: keep a list of dummy elements
Element comments may come without any prior set flag, so we have to keep a list of dummy struct nft_set_ext to keep this information around. This is only useful for set dumps to userspace. From the packet path, this set type relies on the bitmap representation. This patch simplifies the logic since we don't need to allocate the dummy nft_set_ext structure anymore on the fly at the cost of increasing memory consumption because of the list of dummy struct nft_set_ext. Fixes: 665153ff5752 ("netfilter: nf_tables: add bitmap set type") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netfilter/nf_tables.h')
0 files changed, 0 insertions, 0 deletions