netns: rename peernet2id() to peernet2id_alloc()
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 7 May 2015 09:02:49 +0000 (11:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 May 2015 02:15:30 +0000 (22:15 -0400)
commit7a0877d4b438886b72be61632eaa774d13262f70
treeb8cb00423af5be00667a07302128f0fe7c4f66a0
parentcab3c8ec8d57ef48ed754ee7acf2b9bdce80fa5f
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>
drivers/net/vxlan.c
include/net/net_namespace.h
net/core/net_namespace.c
net/core/rtnetlink.c