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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index cc306ac6eb51..be166e0e11c5 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -4852,11 +4852,11 @@ static void __tcp_ack_snd_check(struct sock *sk, int ofo_possible)
4852 struct tcp_sock *tp = tcp_sk(sk); 4852 struct tcp_sock *tp = tcp_sk(sk);
4853 4853
4854 /* More than one full frame received... */ 4854 /* More than one full frame received... */
4855 if (((tp->rcv_nxt - tp->rcv_wup) > inet_csk(sk)->icsk_ack.rcv_mss 4855 if (((tp->rcv_nxt - tp->rcv_wup) > inet_csk(sk)->icsk_ack.rcv_mss &&
4856 /* ... and right edge of window advances far enough. 4856 /* ... and right edge of window advances far enough.
4857 * (tcp_recvmsg() will send ACK otherwise). Or... 4857 * (tcp_recvmsg() will send ACK otherwise). Or...
4858 */ 4858 */
4859 && __tcp_select_window(sk) >= tp->rcv_wnd) || 4859 __tcp_select_window(sk) >= tp->rcv_wnd) ||
4860 /* We ACK each frame or... */ 4860 /* We ACK each frame or... */
4861 tcp_in_quickack_mode(sk) || 4861 tcp_in_quickack_mode(sk) ||
4862 /* We have out of order data. */ 4862 /* We have out of order data. */