Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21005
b: refs/heads/master
c: ba244fe
h: refs/heads/master
i:
  21003: b2432f9
v: v3
  • Loading branch information
David S. Miller committed Mar 12, 2006
1 parent af3f871 commit c0a41ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c12743764129e40dc8461afc1096cf175c7c25f2
refs/heads/master: ba244fe9005323452428fee4b4b7d0c70a06b627
4 changes: 4 additions & 0 deletions trunk/net/ipv4/tcp_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -1036,6 +1036,10 @@ static int tcp_tso_should_defer(struct sock *sk, struct tcp_sock *tp, struct sk_

limit = min(send_win, cong_win);

/* If a full-sized TSO skb can be sent, do it. */
if (limit >= 65536)
return 0;

if (sysctl_tcp_tso_win_divisor) {
u32 chunk = min(tp->snd_wnd, tp->snd_cwnd * tp->mss_cache);

Expand Down

0 comments on commit c0a41ce

Please sign in to comment.