* [PATCH nf v1] netfilter: flowtable: initialise extack before use
@ 2024-08-06 16:16 Donald Hunter
2024-08-09 9:39 ` Simon Horman
0 siblings, 1 reply; 2+ messages in thread
From: Donald Hunter @ 2024-08-06 16:16 UTC (permalink / raw)
To: Pablo Neira Ayuso, Jozsef Kadlecsik, David S . Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni, netfilter-devel,
netdev
Cc: donald.hunter, Donald Hunter
Fix missing initialisation of extack in flow offload.
Fixes: c29f74e0df7a ("netfilter: nf_flow_table: hardware offload support")
Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
---
net/netfilter/nf_flow_table_offload.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/netfilter/nf_flow_table_offload.c b/net/netfilter/nf_flow_table_offload.c
index ff1a4e36c2b5..e06bc36f49fe 100644
--- a/net/netfilter/nf_flow_table_offload.c
+++ b/net/netfilter/nf_flow_table_offload.c
@@ -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;
--
2.45.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH nf v1] netfilter: flowtable: initialise extack before use
2024-08-06 16:16 [PATCH nf v1] netfilter: flowtable: initialise extack before use Donald Hunter
@ 2024-08-09 9:39 ` Simon Horman
0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2024-08-09 9:39 UTC (permalink / raw)
To: Donald Hunter
Cc: Pablo Neira Ayuso, Jozsef Kadlecsik, David S . Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni, netfilter-devel,
netdev, donald.hunter
On Tue, Aug 06, 2024 at 05:16:37PM +0100, Donald Hunter wrote:
> Fix missing initialisation of extack in flow offload.
>
> Fixes: c29f74e0df7a ("netfilter: nf_flow_table: hardware offload support")
> Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-09 9:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-06 16:16 [PATCH nf v1] netfilter: flowtable: initialise extack before use Donald Hunter
2024-08-09 9:39 ` Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).