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@nxp.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