# Re: \[PATCH net-next v8 01/11\] rtnetlink: Lookup device in target netns when creating link

- From: Kuniyuki Iwashima \<hidden\>
- Date: 2025-01-14 01:39:33 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/01/2888805
- Thread: https://ratatoskr.run/batman/2025/01/2887817/t.md

```text
From: Xiao Liang <redacted>
Date: Mon, 13 Jan 2025 22:37:09 +0800
> When creating link, lookup for existing device in target net namespace
> instead of current one.
> For example, two links created by:
> 
>   # ip link add dummy1 type dummy
>   # ip link add netns ns1 dummy1 type dummy
> 
> should have no conflict since they are in different namespaces.
> 
> Signed-off-by: Xiao Liang <redacted>

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