]> Gentwo Git Trees - linux/.git/commit
net: support ns lookup
authorChristian Brauner <brauner@kernel.org>
Fri, 12 Sep 2025 11:52:44 +0000 (13:52 +0200)
committerChristian Brauner <brauner@kernel.org>
Fri, 19 Sep 2025 12:26:15 +0000 (14:26 +0200)
commit195f7422298d711e89643369988ed285d484dd74
tree5eb8f4c947b8eb5aad38e9954f8fbe6e788027f3
parent74b24a582e1ff3960f0454f57afc2bcdbc52562e
net: support ns lookup

Support the generic ns lookup infrastructure to support file handles for
namespaces.

The network namespace has a separate list with different lifetime rules
which we can just leave in tact. We have a similar concept for mount
namespaces as well where it is on two differenet lists for different
purposes.

Signed-off-by: Christian Brauner <brauner@kernel.org>
net/core/net_namespace.c