Re: [PATCH net v2] net: ethernet: mtk_eth_soc: fix NULL pointer on hw reset

From: patchwork-bot+netdevbpf
Date: Tue Aug 22 2023 - 14:10:30 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Mon, 21 Aug 2023 17:12:44 +0100 you wrote:
> When a hardware reset is triggered on devices not initializing WED the
> calls to mtk_wed_fe_reset and mtk_wed_fe_reset_complete dereference a
> pointer on uninitialized stack memory.
> Break out of both functions in case a hw_list entry is 0.
>
> Fixes: 08a764a7c51b ("net: ethernet: mtk_wed: add reset/reset_complete callbacks")
> Signed-off-by: Daniel Golle <daniel@xxxxxxxxxxxxxx>
> Reviewed-by: Simon Horman <horms@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [net,v2] net: ethernet: mtk_eth_soc: fix NULL pointer on hw reset
https://git.kernel.org/netdev/net/c/604204fcb321

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html