提交 9f48e9bf 编写于 作者: P Pablo Neira Ayuso 提交者: David S. Miller

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: NPablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 b32d2f34
无相关合并请求
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部