[NET]: sk_release_kernel needs to be exported to modules
authorDavid S. Miller <davem@davemloft.net>
Fri, 29 Feb 2008 19:33:19 +0000 (11:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Feb 2008 19:33:19 +0000 (11:33 -0800)
Fixes:

ERROR: "sk_release_kernel" [net/ipv6/ipv6.ko] undefined!

Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/sock.c

index c71b645..0ca0697 100644 (file)
@@ -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)
 {