Re: [PATCH net-next v10 00/13] net: Improve netns handling in rtnetlink

From
Jakub Kicinski <kuba@kernel.org>
Date
2025-02-21 23:47:53
Also in
batman, bpf, bridge, linux-can, linux-kselftest, linux-rdma, linux-wireless, lkml
Reply to
Xiao Liang, 2025-02-19
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!
Thread (25 messages) 25 messages, 4 authors, last reply 2025-02-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help