Skip to content

Commit 7cbebc8

Browse files
Jiri Bencdavem330
authored andcommitted
net: export peernet2id_alloc
It will be used by openvswitch. Signed-off-by: Jiri Benc <jbenc@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 27c565a commit 7cbebc8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/core/net_namespace.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ int peernet2id_alloc(struct net *net, struct net *peer)
234234
rtnl_net_notifyid(net, RTM_NEWNSID, id);
235235
return id;
236236
}
237+
EXPORT_SYMBOL_GPL(peernet2id_alloc);
237238

238239
/* This function returns, if assigned, the id of a peer netns. */
239240
int peernet2id(struct net *net, struct net *peer)

0 commit comments

Comments
 (0)