[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168213482040.27640.9410450020348917576.git-patchwork-notify@kernel.org>
Date: Sat, 22 Apr 2023 03:40:20 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Ivan Vecera <ivecera@...hat.com>
Cc: netdev@...r.kernel.org, jhs@...atatu.com, xiyou.wangcong@...il.com,
jiri@...nulli.us, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, simon.horman@...igine.com,
marcelo.leitner@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net v2] net/sched: cls_api: Initialize miss_cookie_node when
action miss is not used
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 20 Apr 2023 20:36:33 +0200 you wrote:
> Function tcf_exts_init_ex() sets exts->miss_cookie_node ptr only
> when use_action_miss is true so it assumes in other case that
> the field is set to NULL by the caller. If not then the field
> contains garbage and subsequent tcf_exts_destroy() call results
> in a crash.
> Ensure that the field .miss_cookie_node pointer is NULL when
> use_action_miss parameter is false to avoid this potential scenario.
>
> [...]
Here is the summary with links:
- [net,v2] net/sched: cls_api: Initialize miss_cookie_node when action miss is not used
https://git.kernel.org/netdev/net/c/2cc8a008d62f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists