summaryrefslogtreecommitdiffstats
path: root/net/netfilter/nf_tables_set_core.c
Commit message (Collapse)AuthorAgeFilesLines
* netfilter: nf_tables: fix implicit include of module.hPaul Gortmaker2019-04-301-0/+1
| | | | | | | | | | This file clearly uses modular infrastructure but does not call out the inclusion of <linux/module.h> explicitly. We add that include explicitly here, so we can tidy up some header usage elsewhere w/o causing build breakage. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* netfilter: nf_tables: place all set backends in one single modulePablo Neira Ayuso2018-07-061-0/+28
This patch disallows rbtree with single elements, which is causing problems with the recent timeout support. Before this patch, you could opt out individual set representations per module, which is just adding extra complexity. Fixes: 8d8540c4f5e0("netfilter: nft_set_rbtree: add timeout support") Reported-by: Taehee Yoo <ap420073@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>