]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
vsock: document namespace mode sysctls
authorStefano Garzarella <sgarzare@redhat.com>
Mon, 16 Feb 2026 16:31:47 +0000 (17:31 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 18 Feb 2026 01:20:21 +0000 (17:20 -0800)
commita07c33c6f2fc693bf9c67514fcc15d9d417f390d
treeeef29cb5c7c40eef2f47f58c72070f7b06b17d28
parentffe68c3766997d82e9ccaf1cdbd47eba269c4aa2
vsock: document namespace mode sysctls

Add documentation for the vsock per-namespace sysctls (`ns_mode` and
`child_ns_mode`) to Documentation/admin-guide/sysctl/net.rst.
These sysctls were introduced by commit eafb64f40ca4 ("vsock: add
netns to vsock core").

Document the two namespace modes (`global` and `local`), the
inheritance behavior of `child_ns_mode`, and the restriction preventing
local namespaces from setting `child_ns_mode` to `global`.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://patch.msgid.link/20260216163147.236844-1-sgarzare@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/admin-guide/sysctl/net.rst