mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-07 18:05:21 +02:00
netfilter: flowtable: initialise extack before use
[ Upstream commite976713730
] Fix missing initialisation of extack in flow offload. Fixes:c29f74e0df
("netfilter: nf_flow_table: hardware offload support") Signed-off-by: Donald Hunter <donald.hunter@gmail.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
7b825f91a0
commit
c7b760499f
|
@ -841,8 +841,8 @@ static int nf_flow_offload_tuple(struct nf_flowtable *flowtable,
|
||||||
struct list_head *block_cb_list)
|
struct list_head *block_cb_list)
|
||||||
{
|
{
|
||||||
struct flow_cls_offload cls_flow = {};
|
struct flow_cls_offload cls_flow = {};
|
||||||
|
struct netlink_ext_ack extack = {};
|
||||||
struct flow_block_cb *block_cb;
|
struct flow_block_cb *block_cb;
|
||||||
struct netlink_ext_ack extack;
|
|
||||||
__be16 proto = ETH_P_ALL;
|
__be16 proto = ETH_P_ALL;
|
||||||
int err, i = 0;
|
int err, i = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user