Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15003
b: refs/heads/master
c: 0d7bef6
h: refs/heads/master
i:
  15001: bf2d2bd
  14999: 223dff8
v: v3
  • Loading branch information
Thomas Young authored and David S. Miller committed Dec 7, 2005
1 parent 62d9e7e commit 5c9ae2f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 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: 5b4956138173cb8b58d83d3173360e8e681a2b66
refs/heads/master: 0d7bef600acab393898bd5553e167496587da3e1
8 changes: 0 additions & 8 deletions trunk/net/ipv4/tcp_vegas.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,14 +215,6 @@ static void tcp_vegas_cong_avoid(struct sock *sk, u32 ack,
vegas->beg_snd_nxt = tp->snd_nxt;
vegas->beg_snd_cwnd = tp->snd_cwnd;

/* Take into account the current RTT sample too, to
* decrease the impact of delayed acks. This double counts
* this sample since we count it for the next window as well,
* but that's not too awful, since we're taking the min,
* rather than averaging.
*/
tcp_vegas_rtt_calc(sk, seq_rtt * 1000);

/* We do the Vegas calculations only if we got enough RTT
* samples that we can be reasonably sure that we got
* at least one RTT sample that wasn't from a delayed ACK.
Expand Down

0 comments on commit 5c9ae2f

Please sign in to comment.