Re: [PATCH v1 net] net: phy: fix null dereference in phy_attach_direct

From: patchwork-bot+netdevbpf
Date: Mon Jan 30 2023 - 04:33:28 EST


Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Fri, 27 Jan 2023 09:14:27 -0800 you wrote:
> Commit bc66fa87d4fd ("net: phy: Add link between phy dev and mac dev")
> introduced a link between net devices and phy devices. It fails to check
> whether dev is NULL, leading to a NULL dereference error.
>
> Fixes: bc66fa87d4fd ("net: phy: Add link between phy dev and mac dev")
> Signed-off-by: Colin Foster <colin.foster@xxxxxxxxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [v1,net] net: phy: fix null dereference in phy_attach_direct
https://git.kernel.org/netdev/net/c/73a876022273

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