[TCP]: Fix tcp_tso_should_defer() when limit>=65536
authorDavid S. Miller <davem@davemloft.net>
Sun, 12 Mar 2006 02:51:49 +0000 (18:51 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 12 Mar 2006 02:51:49 +0000 (18:51 -0800)
commitba244fe9005323452428fee4b4b7d0c70a06b627
treea2f64703eeb1cae57ea3d4b5d2dd481614ae82d1
parentc12743764129e40dc8461afc1096cf175c7c25f2
[TCP]: Fix tcp_tso_should_defer() when limit>=65536

That's >= a full sized TSO frame, so we should always
return 0 in that case.

Based upon a report and initial patch from Lachlan
Andrew, final patch suggested by Herbert Xu.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_output.c