summaryrefslogtreecommitdiffstats
path: root/net/core/sock.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-02-29 11:33:19 -0800
committerDavid S. Miller <davem@davemloft.net>2008-02-29 11:33:19 -0800
commit45af1754bc09926b5e062bda24f789d7b320939f (patch)
tree27b17a6614b8cdf122fe19955e88eb45f12a5c60 /net/core/sock.c
parent98c6d1b261e74750e6c56ede26dc295201c4a8b2 (diff)
downloadop-kernel-dev-45af1754bc09926b5e062bda24f789d7b320939f.zip
op-kernel-dev-45af1754bc09926b5e062bda24f789d7b320939f.tar.gz
[NET]: sk_release_kernel needs to be exported to modules
Fixes: ERROR: "sk_release_kernel" [net/ipv6/ipv6.ko] undefined! Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/sock.c')
-rw-r--r--net/core/sock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/sock.c b/net/core/sock.c
index c71b645..0ca0697 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -1004,6 +1004,7 @@ void sk_release_kernel(struct sock *sk)
sk->sk_net = get_net(&init_net);
sock_put(sk);
}
+EXPORT_SYMBOL(sk_release_kernel);
struct sock *sk_clone(const struct sock *sk, const gfp_t priority)
{
OpenPOWER on IntegriCloud