Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95383
b: refs/heads/master
c: 246eb2a
h: refs/heads/master
i:
  95381: 7ce9ce4
  95379: f2accd1
  95375: 760e9a2
v: v3
  • Loading branch information
John Heffner authored and David S. Miller committed Apr 29, 2008
1 parent a6152d2 commit e2a99a3
Show file tree
Hide file tree
Showing 2 changed files with 3 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: ce447eb91409225f8a488f6b7b2a1bdf7b2d884f
refs/heads/master: 246eb2af060fc32650f07203c02bdc0456ad76c7
3 changes: 2 additions & 1 deletion trunk/net/ipv4/tcp_cong.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@ int tcp_is_cwnd_limited(const struct sock *sk, u32 in_flight)

left = tp->snd_cwnd - in_flight;
if (sk_can_gso(sk) &&
left * sysctl_tcp_tso_win_divisor < tp->snd_cwnd)
left * sysctl_tcp_tso_win_divisor < tp->snd_cwnd &&
left * tp->mss_cache < sk->sk_gso_max_size)
return 1;
return left <= tcp_max_burst(tp);
}
Expand Down

0 comments on commit e2a99a3

Please sign in to comment.