aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netfilter
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2019-11-12 00:29:53 +0100
committerDavid S. Miller <davem@davemloft.net>2019-11-12 19:42:26 -0800
commit62248df88a406a443b838a3633a7f60a716f999e (patch)
tree574946b14cd42342dfe3fa47f7b634663ca38510 /include/net/netfilter
parentnetfilter: nf_flow_table: remove union from flow_offload structure (diff)
downloadlinux-dev-62248df88a406a443b838a3633a7f60a716f999e.tar.xz
linux-dev-62248df88a406a443b838a3633a7f60a716f999e.zip
netfilter: nf_flowtable: remove flow_offload_entry structure
Move rcu_head to struct flow_offload, then remove the flow_offload_entry structure definition. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netfilter')
-rw-r--r--include/net/netfilter/nf_flow_table.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_flow_table.h b/include/net/netfilter/nf_flow_table.h
index 7f892d6c1a6d..6d33734c8fa1 100644
--- a/include/net/netfilter/nf_flow_table.h
+++ b/include/net/netfilter/nf_flow_table.h
@@ -75,6 +75,7 @@ struct flow_offload {
struct nf_conn *ct;
u32 flags;
u32 timeout;
+ struct rcu_head rcu_head;
};
#define NF_FLOW_TIMEOUT (30 * HZ)