Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90795
b: refs/heads/master
c: dd9e0dd
h: refs/heads/master
i:
  90793: 5704fa6
  90791: 4722686
v: v3
  • Loading branch information
John Heffner authored and David S. Miller committed Apr 16, 2008
1 parent c7cd51e commit 8f0b2b8
Show file tree
Hide file tree
Showing 2 changed files with 6 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: d0498d9ae1a5cebac363e38907266d5cd2eedf89
refs/heads/master: dd9e0dda66ba38a2ddd1405ac279894260dc5c36
7 changes: 5 additions & 2 deletions trunk/include/net/tcp.h
Original file line number Diff line number Diff line change
Expand Up @@ -787,11 +787,14 @@ extern void tcp_enter_cwr(struct sock *sk, const int set_ssthresh);
extern __u32 tcp_init_cwnd(struct tcp_sock *tp, struct dst_entry *dst);

/* Slow start with delack produces 3 packets of burst, so that
* it is safe "de facto".
* it is safe "de facto". This will be the default - same as
* the default reordering threshold - but if reordering increases,
* we must be able to allow cwnd to burst at least this much in order
* to not pull it back when holes are filled.
*/
static __inline__ __u32 tcp_max_burst(const struct tcp_sock *tp)
{
return 3;
return tp->reordering;
}

/* Returns end sequence number of the receiver's advertised window */
Expand Down

0 comments on commit 8f0b2b8

Please sign in to comment.