Thread (2 messages) flat view 2 messages, 2 authors, 2021-09-19

Re: [PATCH net-next] net: phylink: don't call netif_carrier_off() with NULL netdev

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-09-19 12:30:21

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Fri, 17 Sep 2021 14:36:31 +0100 you wrote:
Dan Carpenter points out that we have a code path that permits a NULL
netdev pointer to be passed to netif_carrier_off(), which will cause
a kernel oops. In any case, we need to set pl->old_link_state to false
to have the desired effect when there is no netdev present.

Fixes: f97493657c63 ("net: phylink: add suspend/resume support")
Reported-by: Dan Carpenter <redacted>
Signed-off-by: Russell King (Oracle) <redacted>

[...]
Here is the summary with links:
  - [net-next] net: phylink: don't call netif_carrier_off() with NULL netdev
    https://git.kernel.org/netdev/net-next/c/cbcca2e3961e

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