diff options
| author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-23 14:06:56 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-23 14:06:56 -0400 |
| commit | 3f024c1a4bc8ef9a149879351ce8b3aa749e0c2f (patch) | |
| tree | 5539ec43768de877137c1971502a5e69cd9f0836 /net/ipv4/tcp_output.c | |
| parent | a4cce10492358b33d33bb43f98284c80482037e8 (diff) | |
| parent | dc16aaf29d64b8c5e0b88f49a4d541edf5b61e42 (diff) | |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Diffstat (limited to 'net/ipv4/tcp_output.c')
| -rw-r--r-- | net/ipv4/tcp_output.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index 566045e58437..dd30dd137b74 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c | |||
| @@ -925,10 +925,6 @@ static int tcp_tso_should_defer(struct sock *sk, struct tcp_sock *tp, struct sk_ | |||
| 925 | 925 | ||
| 926 | limit = min(send_win, cong_win); | 926 | limit = min(send_win, cong_win); |
| 927 | 927 | ||
| 928 | /* If sk_send_head can be sent fully now, just do it. */ | ||
| 929 | if (skb->len <= limit) | ||
| 930 | return 0; | ||
| 931 | |||
| 932 | if (sysctl_tcp_tso_win_divisor) { | 928 | if (sysctl_tcp_tso_win_divisor) { |
| 933 | u32 chunk = min(tp->snd_wnd, tp->snd_cwnd * tp->mss_cache); | 929 | u32 chunk = min(tp->snd_wnd, tp->snd_cwnd * tp->mss_cache); |
| 934 | 930 | ||
