Re: [PATCH net] net: marvell: prestera: fix incorrect structure access

From: patchwork-bot+netdevbpf
Date: Fri Dec 17 2021 - 22:30:31 EST


Hello:

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

On Thu, 16 Dec 2021 19:17:14 +0200 you wrote:
> In line:
> upper = info->upper_dev;
> We access upper_dev field, which is related only for particular events
> (e.g. event == NETDEV_CHANGEUPPER). So, this line cause invalid memory
> access for another events,
> when ptr is not netdev_notifier_changeupper_info.
>
> [...]

Here is the summary with links:
- [net] net: marvell: prestera: fix incorrect structure access
https://git.kernel.org/netdev/net/c/2efc2256febf

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