diff options
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r-- | net/ipv4/tcp_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index 616c686ca253..875bc6dcd920 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c | |||
@@ -1923,8 +1923,8 @@ int tcp_retransmit_skb(struct sock *sk, struct sk_buff *skb) | |||
1923 | * case, when window is shrunk to zero. In this case | 1923 | * case, when window is shrunk to zero. In this case |
1924 | * our retransmit serves as a zero window probe. | 1924 | * our retransmit serves as a zero window probe. |
1925 | */ | 1925 | */ |
1926 | if (!before(TCP_SKB_CB(skb)->seq, tcp_wnd_end(tp)) | 1926 | if (!before(TCP_SKB_CB(skb)->seq, tcp_wnd_end(tp)) && |
1927 | && TCP_SKB_CB(skb)->seq != tp->snd_una) | 1927 | TCP_SKB_CB(skb)->seq != tp->snd_una) |
1928 | return -EAGAIN; | 1928 | return -EAGAIN; |
1929 | 1929 | ||
1930 | if (skb->len > cur_mss) { | 1930 | if (skb->len > cur_mss) { |