]> www.infradead.org Git - users/jedix/linux-maple.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)
committerDhaval Giani <dhaval.giani@oracle.com>
Tue, 7 Nov 2017 05:24:14 +0000 (00:24 -0500)
commit1fd42bb539c253c3e437d8ba76bf6578f9d7278e
treee70e95d22eb5a4b16f2654179e6ea93d6b1a1d0d
parent4c38ec8c72a5fc850dbc88a4142a059391e80c75
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>
Orabug: 23634951
(cherry picked from commit 3138dbf881274cb20d9aa1b307861f689e820fbe)
Signed-off-by: Cathy Zhou <Cathy.Zhou@Oracle.COM>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
net/core/net_namespace.c