|
@@ -925,10 +925,6 @@ static int tcp_tso_should_defer(struct sock *sk, struct tcp_sock *tp, struct sk_
|
|
|
|
|
|
limit = min(send_win, cong_win);
|
|
limit = min(send_win, cong_win);
|
|
|
|
|
|
- /* If sk_send_head can be sent fully now, just do it. */
|
|
|
|
- if (skb->len <= limit)
|
|
|
|
- return 0;
|
|
|
|
-
|
|
|
|
if (sysctl_tcp_tso_win_divisor) {
|
|
if (sysctl_tcp_tso_win_divisor) {
|
|
u32 chunk = min(tp->snd_wnd, tp->snd_cwnd * tp->mss_cache);
|
|
u32 chunk = min(tp->snd_wnd, tp->snd_cwnd * tp->mss_cache);
|
|
|
|
|