Skip to content

Commit

Permalink
netfilter: nf_flow_table: remove union from flow_offload structure
Browse files Browse the repository at this point in the history
Drivers do not have access to the flow_offload structure, hence remove
this union from this flow_offload object as well as the original comment
on top of it.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Pablo Neira Ayuso authored and David S. Miller committed Nov 13, 2019
1 parent b32d2f3 commit 9f48e9b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions include/net/netfilter/nf_flow_table.h
Original file line number Diff line number Diff line change
@@ -74,10 +74,7 @@ struct flow_offload {
struct flow_offload_tuple_rhash tuplehash[FLOW_OFFLOAD_DIR_MAX];
struct nf_conn *ct;
u32 flags;
union {
/* Your private driver data here. */
u32 timeout;
};
u32 timeout;
};

#define NF_FLOW_TIMEOUT (30 * HZ)

0 comments on commit 9f48e9b

Please sign in to comment.