Thread (9 messages) 9 messages, 3 authors, 2026-02-26

Re: [PATCH net v3 0/3] vsock: add write-once semantics to child_ns_mode

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-02-26 10:20:05
Also in: kvm, linux-doc, linux-kselftest, lkml, virtualization

Hello:

This series was applied to netdev/net.git (main)
by Paolo Abeni [off-list ref]:

On Mon, 23 Feb 2026 14:38:31 -0800 you wrote:
Two administrator processes may race when setting child_ns_mode: one
sets it to "local" and creates a namespace, but another changes it to
"global" in between. The first process ends up with a namespace in the
wrong mode. Make child_ns_mode write-once so that a namespace manager
can set it once, check the value, and be guaranteed it won't change
before creating its namespaces. Writing a different value after the
first write returns -EBUSY.

[...]
Here is the summary with links:
  - [net,v3,1/3] selftests/vsock: change tests to respect write-once child ns mode
    https://git.kernel.org/netdev/net/c/a382a34276cb
  - [net,v3,2/3] vsock: lock down child_ns_mode as write-once
    https://git.kernel.org/netdev/net/c/102eab95f025
  - [net,v3,3/3] vsock: document write-once behavior of the child_ns_mode sysctl
    https://git.kernel.org/netdev/net/c/b6302e057fdc

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help