netfilter: flowtable: initialise extack before use
Subsystems (3)
PATCH 1/1 netfilter: flowtable: initialise extack before use
Fix missing initialisation of extack in flow offload.
Fixes c29f74e0df7a ("netfilter: nf_flow_table: hardware offload support")
Signed-off-by Donald Hunter <[email protected]>
--- net/netfilter/nf_flow_table_offload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/netfilter/nf_flow_table_offload.c +1 -1
@@ -841,8 +841,8 @@ static int nf_flow_offload_tuple(struct nf_flowtable *flowtable, struct list_head *block_cb_list) {struct flow_cls_offload cls_flow = {}; +struct netlink_ext_ack extack = {};struct flow_block_cb *block_cb; -struct netlink_ext_ack extack;__be16 proto =ETH_P_ALL ;int err, i =0 ;
Signature · 1 line
2.45.2
Quoted 4 lines · Donald Hunter
Fix missing initialisation of extack in flow offload.
Fixes c29f74e0df7a ("netfilter: nf_flow_table: hardware offload support")Signed-off-by Donald Hunter <[email protected]>
Reviewed-by Simon Horman <[email protected]>