diff options
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r-- | net/ipv4/tcp_input.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index 63da39372d40..d77c0d29e239 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
@@ -4957,7 +4957,8 @@ int tcp_rcv_established(struct sock *sk, struct sk_buff *skb, | |||
4957 | goto no_ack; | 4957 | goto no_ack; |
4958 | } | 4958 | } |
4959 | 4959 | ||
4960 | __tcp_ack_snd_check(sk, 0); | 4960 | if (!copied_early || tp->rcv_nxt != tp->rcv_wup) |
4961 | __tcp_ack_snd_check(sk, 0); | ||
4961 | no_ack: | 4962 | no_ack: |
4962 | #ifdef CONFIG_NET_DMA | 4963 | #ifdef CONFIG_NET_DMA |
4963 | if (copied_early) | 4964 | if (copied_early) |