From: Jiri Benc Date: Thu, 2 Nov 2017 19:04:36 +0000 (-0200) Subject: net: export peernet2id_alloc X-Git-Tag: v4.15-rc1~84^2~133^2~2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=7cbebc8a142238da3c2966f87b81ace491c8f089;p=users%2Fhch%2Fmisc.git net: export peernet2id_alloc It will be used by openvswitch. Signed-off-by: Jiri Benc Signed-off-by: David S. Miller --- diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c index 6cfdc7c84c48..b797832565d3 100644 --- a/net/core/net_namespace.c +++ b/net/core/net_namespace.c @@ -234,6 +234,7 @@ int peernet2id_alloc(struct net *net, struct net *peer) rtnl_net_notifyid(net, RTM_NEWNSID, id); return id; } +EXPORT_SYMBOL_GPL(peernet2id_alloc); /* This function returns, if assigned, the id of a peer netns. */ int peernet2id(struct net *net, struct net *peer)