diff options
| author | Kuniyuki Iwashima <[email protected]> | 2024-12-16 11:04:32 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-12-18 01:54:18 +0000 |
| commit | 954a2b40719a21e763a1bba2f0da92347e058fce (patch) | |
| tree | e14c61508d70d2b704a59c3b71f277afa8d12b1a /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | net: netdevsim: fix nsim_pp_hold_write() (diff) | |
| download | kernel-954a2b40719a21e763a1bba2f0da92347e058fce.tar.gz kernel-954a2b40719a21e763a1bba2f0da92347e058fce.zip | |
rtnetlink: Try the outer netns attribute in rtnl_get_peer_net().
Xiao Liang reported that the cited commit changed netns handling
in newlink() of netkit, veth, and vxcan.
Before the patch, if we don't find a netns attribute in the peer
device attributes, we tried to find another netns attribute in
the outer netlink attributes by passing it to rtnl_link_get_net().
Let's restore the original behaviour.
Fixes: 48327566769a ("rtnetlink: fix double call of rtnl_link_get_net_ifla()")
Reported-by: Xiao Liang <[email protected]>
Closes: https://lore.kernel.org/netdev/CABAhCORBVVU8P6AHcEkENMj+gD2d3ce9t=A_o48E0yOQp8_wUQ@mail.gmail.com/#t
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Tested-by: Xiao Liang <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
