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-Tag: v2.6.26-rc1~1138^2~539 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45af1754bc09926b5e062bda24f789d7b320939f;p=linux-2.6 [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 c71b645a78..0ca0697380 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) {