Skip to content

Commit 9f48e9b

Browse files
ummakynesdavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent b32d2f3 commit 9f48e9b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

include/net/netfilter/nf_flow_table.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,7 @@ struct flow_offload {
7474
struct flow_offload_tuple_rhash tuplehash[FLOW_OFFLOAD_DIR_MAX];
7575
struct nf_conn *ct;
7676
u32 flags;
77-
union {
78-
/* Your private driver data here. */
79-
u32 timeout;
80-
};
77+
u32 timeout;
8178
};
8279

8380
#define NF_FLOW_TIMEOUT (30 * HZ)

0 commit comments

Comments
 (0)