diff options
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r-- | net/ipv4/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 69b1fcf70077..d2696af46c70 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c | |||
@@ -975,7 +975,7 @@ do_fault: | |||
975 | if (!skb->len) { | 975 | if (!skb->len) { |
976 | if (sk->sk_send_head == skb) | 976 | if (sk->sk_send_head == skb) |
977 | sk->sk_send_head = NULL; | 977 | sk->sk_send_head = NULL; |
978 | __skb_unlink(skb, skb->list); | 978 | __skb_unlink(skb, &sk->sk_write_queue); |
979 | sk_stream_free_skb(sk, skb); | 979 | sk_stream_free_skb(sk, skb); |
980 | } | 980 | } |
981 | 981 | ||