aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core/net_namespace.c
diff options
context:
space:
mode:
authorJames Morris <james.l.morris@oracle.com>2017-12-11 17:01:08 +1100
committerJames Morris <james.l.morris@oracle.com>2017-12-11 17:01:08 +1100
commitd21bd6898336a7892914d308d5e0868f0b863571 (patch)
treef5f756c25348b5a6c1ce9ddbaa7d1ecd1bef40b0 /net/core/net_namespace.c
parentMAINTAINERS: update the IMA, EVM, trusted-keys, encrypted-keys entries (diff)
parentLinux 4.15-rc3 (diff)
downloadwireguard-linux-d21bd6898336a7892914d308d5e0868f0b863571.tar.xz
wireguard-linux-d21bd6898336a7892914d308d5e0868f0b863571.zip
Sync to v4.15-rc3 for security subsystem developers to work against.
Diffstat (limited to 'net/core/net_namespace.c')
-rw-r--r--net/core/net_namespace.c1
1 files changed, 1 insertions, 0 deletions
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)