Re: [PATCH net-next] net: ethtool: phy: Check the req_info.pdn field for GET commands
From: patchwork-bot+netdevbpf
Date: Wed Sep 11 2024 - 20:10:40 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Tue, 10 Sep 2024 19:46:35 +0200 you wrote:
> When processing the netlink GET requests to get PHY info, the req_info.pdn
> pointer is NULL when no PHY matches the requested parameters, such as when
> the phy_index is invalid, or there's simply no PHY attached to the
> interface.
>
> Therefore, check the req_info.pdn pointer for NULL instead of
> dereferencing it.
>
> [...]
Here is the summary with links:
- [net-next] net: ethtool: phy: Check the req_info.pdn field for GET commands
https://git.kernel.org/netdev/net-next/c/fce1e9f86af1
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html