Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15519
b: refs/heads/master
c: 05d0545
h: refs/heads/master
i:
  15517: 4214f07
  15515: f4b2efb
  15511: 4296121
  15503: 8760030
  15487: 30c37ef
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Jan 3, 2006
1 parent e810640 commit d157876
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 018da8f44c066d5fc390011b8c953135f973b3a9
refs/heads/master: 05d054503a9c4652212b8730150608787547ecc3
4 changes: 2 additions & 2 deletions trunk/net/ipv4/tcp_bic.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,14 +210,14 @@ static void bictcp_state(struct sock *sk, u8 new_state)
bictcp_reset(inet_csk_ca(sk));
}

/* Track delayed acknowledgement ratio using sliding window
/* Track delayed acknowledgment ratio using sliding window
* ratio = (15*ratio + sample) / 16
*/
static void bictcp_acked(struct sock *sk, u32 cnt)
{
const struct inet_connection_sock *icsk = inet_csk(sk);

if (cnt > 0 && icsk->icsk_ca_state == TCP_CA_Open) {
if (cnt > 0 && icsk->icsk_ca_state == TCP_CA_Open) {
struct bictcp *ca = inet_csk_ca(sk);
cnt -= ca->delayed_ack >> ACK_RATIO_SHIFT;
ca->delayed_ack += cnt;
Expand Down

0 comments on commit d157876

Please sign in to comment.