diff options
Diffstat (limited to 'drivers/net/pppol2tp.c')
-rw-r--r-- | drivers/net/pppol2tp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pppol2tp.c b/drivers/net/pppol2tp.c index 442c382c2c85..c58b50f8ba3b 100644 --- a/drivers/net/pppol2tp.c +++ b/drivers/net/pppol2tp.c | |||
@@ -1537,7 +1537,7 @@ static struct sock *pppol2tp_prepare_tunnel_socket(struct net *net, | |||
1537 | * if the tunnel socket goes away. | 1537 | * if the tunnel socket goes away. |
1538 | */ | 1538 | */ |
1539 | tunnel->old_sk_destruct = sk->sk_destruct; | 1539 | tunnel->old_sk_destruct = sk->sk_destruct; |
1540 | sk->sk_destruct = &pppol2tp_tunnel_destruct; | 1540 | sk->sk_destruct = pppol2tp_tunnel_destruct; |
1541 | 1541 | ||
1542 | tunnel->sock = sk; | 1542 | tunnel->sock = sk; |
1543 | sk->sk_allocation = GFP_ATOMIC; | 1543 | sk->sk_allocation = GFP_ATOMIC; |