Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7cbebc8a authored by Jiri Benc's avatar Jiri Benc Committed by David S. Miller
Browse files

net: export peernet2id_alloc



It will be used by openvswitch.

Signed-off-by: default avatarJiri Benc <jbenc@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 27c565ae
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)