aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r--net/ipv4/tcp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index 769508c75dce..e2fa6eb9f81a 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -1412,7 +1412,8 @@ do_fault:
1412 /* It is the one place in all of TCP, except connection 1412 /* It is the one place in all of TCP, except connection
1413 * reset, where we can be unlinking the send_head. 1413 * reset, where we can be unlinking the send_head.
1414 */ 1414 */
1415 tcp_check_send_head(sk, skb); 1415 if (tcp_write_queue_empty(sk))
1416 tcp_chrono_stop(sk, TCP_CHRONO_BUSY);
1416 sk_wmem_free_skb(sk, skb); 1417 sk_wmem_free_skb(sk, skb);
1417 } 1418 }
1418 1419