Thread (2 messages) 2 messages, 2 authors, 2021-12-18

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

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-12-18 03:30:20
Also in: lkml

Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski [off-list ref]:

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help