From: David S. Miller Date: Fri, 29 Feb 2008 19:33:19 +0000 (-0800) Subject: [NET]: sk_release_kernel needs to be exported to modules X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=45af1754bc09926b5e062bda24f789d7b320939f;p=linux-beck.git [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 --- 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) 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) {