# Re: \[PATCH net-next v10 06/13\] net: ip\_tunnel: Use link netns in newlink() of rtnl\_link\_ops

- From: Kuniyuki Iwashima \<hidden\>
- Date: 2025-02-21 03:36:12 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/02/2937120
- Thread: https://ratatoskr.run/batman/2025/02/2933575/t.md

```text
From: Xiao Liang <redacted>
Date: Wed, 19 Feb 2025 20:50:32 +0800
> 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.
> 
> Convert common ip_tunnel_newlink() to accept an extra link netns
> argument.
> 
> Signed-off-by: Xiao Liang <redacted>

Reviewed-by: Kuniyuki Iwashima <redacted>
```
