Skip to content

Commit

Permalink
[NET]: sk_release_kernel needs to be exported to modules
Browse files Browse the repository at this point in the history
Fixes:

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

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Feb 29, 2008
1 parent 98c6d1b commit 45af175
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/core/sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 45af175

Please sign in to comment.