diff options
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r-- | net/ipv4/tcp_output.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index b3f6f099b1a3..de3bd8458588 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c | |||
@@ -2210,6 +2210,9 @@ void tcp_xmit_retransmit_queue(struct sock *sk) | |||
2210 | int mib_idx; | 2210 | int mib_idx; |
2211 | int fwd_rexmitting = 0; | 2211 | int fwd_rexmitting = 0; |
2212 | 2212 | ||
2213 | if (!tp->packets_out) | ||
2214 | return; | ||
2215 | |||
2213 | if (!tp->lost_out) | 2216 | if (!tp->lost_out) |
2214 | tp->retransmit_high = tp->snd_una; | 2217 | tp->retransmit_high = tp->snd_una; |
2215 | 2218 | ||