aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r--net/ipv4/tcp_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index b2bca373f8be..0196923aec42 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -1206,7 +1206,7 @@ static void tcp_queue_skb(struct sock *sk, struct sk_buff *skb)
1206/* Initialize TSO segments for a packet. */ 1206/* Initialize TSO segments for a packet. */
1207static void tcp_set_skb_tso_segs(struct sk_buff *skb, unsigned int mss_now) 1207static void tcp_set_skb_tso_segs(struct sk_buff *skb, unsigned int mss_now)
1208{ 1208{
1209 if (skb->len <= mss_now || skb->ip_summed == CHECKSUM_NONE) { 1209 if (skb->len <= mss_now) {
1210 /* Avoid the costly divide in the normal 1210 /* Avoid the costly divide in the normal
1211 * non-TSO case. 1211 * non-TSO case.
1212 */ 1212 */