]> www.infradead.org Git - users/jedix/linux-maple.git/commit
netns: rename peernet2id() to peernet2id_alloc()
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 7 May 2015 09:02:49 +0000 (11:02 +0200)
committerDhaval Giani <dhaval.giani@oracle.com>
Tue, 7 Nov 2017 05:24:14 +0000 (00:24 -0500)
commit4c38ec8c72a5fc850dbc88a4142a059391e80c75
tree34283fdbcb9a664e09b9747a29695b73d79c74e9
parentf60d582daba8eb022a5375d6c56ed3117bdfef42
netns: rename peernet2id() to peernet2id_alloc()

In a following commit, a new function will be introduced to only lookup for
a nsid (no allocation if the nsid doesn't exist). To avoid confusion, the
existing function is renamed.

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 7a0877d4b438886b72be61632eaa774d13262f70)
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>
drivers/net/vxlan.c
include/net/net_namespace.h
net/core/net_namespace.c
net/core/rtnetlink.c