diff options
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r-- | net/ipv4/tcp_output.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index 06a0c89ffe40..822962ece284 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c | |||
@@ -1395,7 +1395,8 @@ int tcp_fragment(struct sock *sk, enum tcp_queue tcp_queue, | |||
1395 | /* Link BUFF into the send queue. */ | 1395 | /* Link BUFF into the send queue. */ |
1396 | __skb_header_release(buff); | 1396 | __skb_header_release(buff); |
1397 | tcp_insert_write_queue_after(skb, buff, sk, tcp_queue); | 1397 | tcp_insert_write_queue_after(skb, buff, sk, tcp_queue); |
1398 | list_add(&buff->tcp_tsorted_anchor, &skb->tcp_tsorted_anchor); | 1398 | if (tcp_queue == TCP_FRAG_IN_RTX_QUEUE) |
1399 | list_add(&buff->tcp_tsorted_anchor, &skb->tcp_tsorted_anchor); | ||
1399 | 1400 | ||
1400 | return 0; | 1401 | return 0; |
1401 | } | 1402 | } |