]> err.no Git - linux-2.6/commitdiff
[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 c71b645a78f0c58204a7686a3f9394b91e6b0364..0ca069738021f47d14552c160648ba3d448d7aa2 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)
 {