]> git.ipfire.org Git - thirdparty/linux.git/commit
ns: don't skip active reference count initialization
authorChristian Brauner <brauner@kernel.org>
Sun, 9 Nov 2025 21:11:22 +0000 (22:11 +0100)
committerChristian Brauner <brauner@kernel.org>
Mon, 10 Nov 2025 09:20:50 +0000 (10:20 +0100)
commit0355dcae2d157d95f234a56b540ab110350fd022
tree032566901b990f7596dcc0f0b85a8ff524a8a670
parent8ebfb9896c97ab609222460e705f425cb3f0aad0
ns: don't skip active reference count initialization

Don't skip active reference count initialization for initial namespaces.
Doing this will break network namespace active reference counting.

Link: https://patch.msgid.link/20251109-namespace-6-19-fixes-v1-1-ae8a4ad5a3b3@kernel.org
Fixes: 3a18f809184b ("ns: add active reference count")
Signed-off-by: Christian Brauner <brauner@kernel.org>
kernel/nscommon.c