diff options
author | David S. Miller <davem@davemloft.net> | 2008-02-29 14:33:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-29 14:33:19 -0500 |
commit | 45af1754bc09926b5e062bda24f789d7b320939f (patch) | |
tree | 27b17a6614b8cdf122fe19955e88eb45f12a5c60 /net/core/sock.c | |
parent | 98c6d1b261e74750e6c56ede26dc295201c4a8b2 (diff) |
[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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/sock.c b/net/core/sock.c index c71b645a78f0..0ca069738021 100644 --- a/net/core/sock.c +++ b/net/core/sock.c | |||
@@ -1004,6 +1004,7 @@ void sk_release_kernel(struct sock *sk) | |||
1004 | sk->sk_net = get_net(&init_net); | 1004 | sk->sk_net = get_net(&init_net); |
1005 | sock_put(sk); | 1005 | sock_put(sk); |
1006 | } | 1006 | } |
1007 | EXPORT_SYMBOL(sk_release_kernel); | ||
1007 | 1008 | ||
1008 | struct sock *sk_clone(const struct sock *sk, const gfp_t priority) | 1009 | struct sock *sk_clone(const struct sock *sk, const gfp_t priority) |
1009 | { | 1010 | { |