]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
netns: notify new nsid outside __peernet2id()
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 7 May 2015 09:02:50 +0000 (11:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 May 2015 02:15:31 +0000 (22:15 -0400)
commit3138dbf881274cb20d9aa1b307861f689e820fbe
tree01cfdb1aff0ae9f7ff28b26f27df59cece6bceb1
parent7a0877d4b438886b72be61632eaa774d13262f70
netns: notify new nsid outside __peernet2id()

There is no functional change with this patch. It will ease the refactoring
of the locking system that protects nsids and the support of the netlink
socket option NETLINK_LISTEN_ALL_NSID.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net_namespace.c