# Re: \[PATCH net v2\] net: ethtool: netlink: Allow NULL nlattrs when getting a phy\_device

- From: patchwork-bot+netdevbpf@kernel.org
- Date: 2025-03-05 01:19:59 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/03/2956863
- Thread: https://ratatoskr.run/netdev/2025/03/2951537/t.md

```text
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [ref]:

On Sat,  1 Mar 2025 15:11:13 +0100 you wrote:
> ethnl_req_get_phydev() is used to lookup a phy_device, in the case an
> ethtool netlink command targets a specific phydev within a netdev's
> topology.
> 
> It takes as a parameter a const struct nlattr *header that's used for
> error handling :
> 
> [...]

Here is the summary with links:
  - [net,v2] net: ethtool: netlink: Allow NULL nlattrs when getting a phy_device
    https://git.kernel.org/netdev/net/c/637399bf7e77

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


```
