summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2020-05-20 13:46:51 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2020-05-27 22:20:34 +0200
commitabadb2f865d72a223d691fc68e006943ecadf0d9 (patch)
tree380f94cb7147ad8f048c6b7b9f207adbb76e49c4 /include/net
parentnetfilter: nf_tables: add devices to existing flowtable (diff)
downloadlinux-abadb2f865d72a223d691fc68e006943ecadf0d9.tar.xz
linux-abadb2f865d72a223d691fc68e006943ecadf0d9.zip
netfilter: nf_tables: delete devices from flowtable
This patch allows users to delete devices from existing flowtables. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/netfilter/nf_tables.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h
index 4f58c4411bb4..6f0f6fca9ac3 100644
--- a/include/net/netfilter/nf_tables.h
+++ b/include/net/netfilter/nf_tables.h
@@ -1002,6 +1002,7 @@ struct nft_stats {
struct nft_hook {
struct list_head list;
+ bool inactive;
struct nf_hook_ops ops;
struct rcu_head rcu;
};