]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ipc: enable is_ns_init_id() assertions
authorChristian Brauner <brauner@kernel.org>
Mon, 10 Nov 2025 15:08:23 +0000 (16:08 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 11 Nov 2025 09:01:31 +0000 (10:01 +0100)
commit3826d5dd06996007c13352b7fa65625ab570f651
treeb889cbfd77e47c5bdbcce03b0ecf6f2b4806c2c7
parentd9a44089ac7754e470dfdaf3658c3455b2d7f7dd
ipc: enable is_ns_init_id() assertions

The ipc namespace may call put_ipc_ns() and get_ipc_ns() before it is
added to the namespace tree. Assign the id early like we do for a some
other namespaces.

Link: https://patch.msgid.link/20251110-work-namespace-nstree-fixes-v1-11-e8a9264e0fb9@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
ipc/namespace.c