diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 7a1d48983f81e68b42e8beb664db9aef00440f13..b8dd2d2e22560f30b3088b8d157a2e2f94fffa7a 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -3101,7 +3101,10 @@ struct sk_buff *skb_segment(struct sk_buff *head_skb, */ if (features & NETIF_F_GSO_PARTIAL) { partial_segs = len / mss; - mss *= partial_segs; + if (partial_segs > 1) + mss *= partial_segs; + else + partial_segs = 0; } headroom = skb_headroom(head_skb);