aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r--net/ipv4/tcp_input.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 41f4b862319d..366f63ae4d5c 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -2921,8 +2921,7 @@ static void tcp_ack_probe(struct sock *sk)
2921 2921
2922 /* Was it a usable window open? */ 2922 /* Was it a usable window open? */
2923 2923
2924 if (!after(TCP_SKB_CB(tcp_send_head(sk))->end_seq, 2924 if (!after(TCP_SKB_CB(tcp_send_head(sk))->end_seq, tcp_wnd_end(tp))) {
2925 tp->snd_una + tp->snd_wnd)) {
2926 icsk->icsk_backoff = 0; 2925 icsk->icsk_backoff = 0;
2927 inet_csk_clear_xmit_timer(sk, ICSK_TIME_PROBE0); 2926 inet_csk_clear_xmit_timer(sk, ICSK_TIME_PROBE0);
2928 /* Socket must be waked up by subsequent tcp_data_snd_check(). 2927 /* Socket must be waked up by subsequent tcp_data_snd_check().