Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 110236
b: refs/heads/master
c: 9d2c27e
h: refs/heads/master
v: v3
  • Loading branch information
Daniele Lacamera authored and David S. Miller committed Oct 7, 2008
1 parent 3f769c7 commit c08a43b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 58ec3b4db9eb5a28e3aec5f407a54e28f7039c19
refs/heads/master: 9d2c27e17b7574023b5adb5c6a50d7aaeb915543
6 changes: 5 additions & 1 deletion trunk/net/ipv4/tcp_hybla.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,11 @@ static void hybla_cong_avoid(struct sock *sk, u32 ack, u32 in_flight)
ca->snd_cwnd_cents -= 128;
tp->snd_cwnd_cnt = 0;
}

/* check when cwnd has not been incremented for a while */
if (increment == 0 && odd == 0 && tp->snd_cwnd_cnt >= tp->snd_cwnd) {
tp->snd_cwnd++;
tp->snd_cwnd_cnt = 0;
}
/* clamp down slowstart cwnd to ssthresh value. */
if (is_slowstart)
tp->snd_cwnd = min(tp->snd_cwnd, tp->snd_ssthresh);
Expand Down

0 comments on commit c08a43b

Please sign in to comment.