mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-22 05:44:31 +08:00
[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 <davem@davemloft.net>
This commit is contained in:
parent
98c6d1b261
commit
45af1754bc
@ -1004,6 +1004,7 @@ void sk_release_kernel(struct sock *sk)
|
|||||||
sk->sk_net = get_net(&init_net);
|
sk->sk_net = get_net(&init_net);
|
||||||
sock_put(sk);
|
sock_put(sk);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(sk_release_kernel);
|
||||||
|
|
||||||
struct sock *sk_clone(const struct sock *sk, const gfp_t priority)
|
struct sock *sk_clone(const struct sock *sk, const gfp_t priority)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user