diff options
Diffstat (limited to 'net/ipv4/tcp_yeah.c')
-rw-r--r-- | net/ipv4/tcp_yeah.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_yeah.c b/net/ipv4/tcp_yeah.c index a347a078ee07..20cfaab12e15 100644 --- a/net/ipv4/tcp_yeah.c +++ b/net/ipv4/tcp_yeah.c | |||
@@ -214,9 +214,9 @@ static u32 tcp_yeah_ssthresh(struct sock *sk) { | |||
214 | if (yeah->doing_reno_now < TCP_YEAH_RHO) { | 214 | if (yeah->doing_reno_now < TCP_YEAH_RHO) { |
215 | reduction = yeah->lastQ; | 215 | reduction = yeah->lastQ; |
216 | 216 | ||
217 | reduction = min( reduction, max(tp->snd_cwnd>>1, 2U) ); | 217 | reduction = min(reduction, max(tp->snd_cwnd>>1, 2U)); |
218 | 218 | ||
219 | reduction = max( reduction, tp->snd_cwnd >> TCP_YEAH_DELTA); | 219 | reduction = max(reduction, tp->snd_cwnd >> TCP_YEAH_DELTA); |
220 | } else | 220 | } else |
221 | reduction = max(tp->snd_cwnd>>1, 2U); | 221 | reduction = max(tp->snd_cwnd>>1, 2U); |
222 | 222 | ||