[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162457500369.3017.3504936095805089983.git-patchwork-notify@kernel.org>
Date: Thu, 24 Jun 2021 22:50:03 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Vladimir Oltean <olteanv@...il.com>
Cc: kuba@...nel.org, davem@...emloft.net, netdev@...r.kernel.org,
f.fainelli@...il.com, andrew@...n.ch, vivien.didelot@...il.com,
vladimir.oltean@....com
Subject: Re: [PATCH net] net: dsa: sja1105: fix NULL pointer dereference in
sja1105_reload_cbs()
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Thu, 24 Jun 2021 18:52:07 +0300 you wrote:
> From: Vladimir Oltean <vladimir.oltean@....com>
>
> priv->cbs is an array of priv->info->num_cbs_shapers elements of type
> struct sja1105_cbs_entry which only get allocated if CONFIG_NET_SCH_CBS
> is enabled.
>
> However, sja1105_reload_cbs() is called from sja1105_static_config_reload()
> which in turn is called for any of the items in sja1105_reset_reasons,
> therefore during the normal runtime of the driver and not just from a
> code path which can be triggered by the tc-cbs offload.
>
> [...]
Here is the summary with links:
- [net] net: dsa: sja1105: fix NULL pointer dereference in sja1105_reload_cbs()
https://git.kernel.org/netdev/net/c/be7f62eebaff
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