diff options
| author | Xiao Liang <[email protected]> | 2025-02-19 12:50:35 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-02-21 23:28:03 +0000 |
| commit | 5314e3d68455c56161c02133e08a44c3a9e8cf4a (patch) | |
| tree | ba3e2191d9747c420cc1991258ff2d7d3dd75ad1 /tools/testing/selftests/net/lib/py/netns.py | |
| parent | net: ipv6: Use link netns in newlink() of rtnl_link_ops (diff) | |
| download | kernel-5314e3d68455c56161c02133e08a44c3a9e8cf4a.tar.gz kernel-5314e3d68455c56161c02133e08a44c3a9e8cf4a.zip | |
net: xfrm: Use link netns in newlink() of rtnl_link_ops
When link_net is set, use it as link netns instead of dev_net(). This
prepares for rtnetlink core to create device in target netns directly,
in which case the two namespaces may be different.
Signed-off-by: Xiao Liang <[email protected]>
Reviewed-by: Kuniyuki Iwashima <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/netns.py')
0 files changed, 0 insertions, 0 deletions
