[PATCH net-next v10 00/13] net: Improve netns handling in rtnetlink
Jakub Kicinski
kuba at kernel.org
Fri Feb 21 23:47:55 UTC 2025
On Wed, 19 Feb 2025 20:50:26 +0800 Xiao Liang wrote:
> Patch 01 avoids link name conflict in different netns.
>
> To achieve 2), there're mainly 3 steps:
>
> - Patch 02 packs newlink() parameters into a struct, including
> the original "src_net" along with more netns context. No semantic
> changes are introduced.
> - Patch 03 ~ 09 converts device drivers to use the explicit netns
> extracted from params.
> - Patch 10 ~ 11 removes the old netns parameter, and converts
> rtnetlink to create device in target netns directly.
>
> Patch 12 ~ 13 adds some tests for link name and link netns.
Nice work, thank you!
More information about the WireGuard
mailing list