Skip to content

Commit e976713

Browse files
donaldhummakynes
authored andcommitted
netfilter: flowtable: initialise extack before use
Fix missing initialisation of extack in flow offload. Fixes: c29f74e ("netfilter: nf_flow_table: hardware offload support") Signed-off-by: Donald Hunter <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
1 parent d1a7b38 commit e976713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/netfilter/nf_flow_table_offload.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,8 +841,8 @@ static int nf_flow_offload_tuple(struct nf_flowtable *flowtable,
841841
struct list_head *block_cb_list)
842842
{
843843
struct flow_cls_offload cls_flow = {};
844+
struct netlink_ext_ack extack = {};
844845
struct flow_block_cb *block_cb;
845-
struct netlink_ext_ack extack;
846846
__be16 proto = ETH_P_ALL;
847847
int err, i = 0;
848848

0 commit comments

Comments
 (0)