netfilter: nf_flow_table: remove union from flow_offload structure
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>
This commit is contained in:
parent
b32d2f3416
commit
9f48e9bf25
@ -74,10 +74,7 @@ struct flow_offload {
|
|||||||
struct flow_offload_tuple_rhash tuplehash[FLOW_OFFLOAD_DIR_MAX];
|
struct flow_offload_tuple_rhash tuplehash[FLOW_OFFLOAD_DIR_MAX];
|
||||||
struct nf_conn *ct;
|
struct nf_conn *ct;
|
||||||
u32 flags;
|
u32 flags;
|
||||||
union {
|
u32 timeout;
|
||||||
/* Your private driver data here. */
|
|
||||||
u32 timeout;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define NF_FLOW_TIMEOUT (30 * HZ)
|
#define NF_FLOW_TIMEOUT (30 * HZ)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user