]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/core/skbuff.c
gso: Fix support for linear packets
[linux-2.6-omap-h63xx.git] / net / core / skbuff.c
index 6acbf9e79eb1dc2076bc192f774c8b5591566c42..ce6356cd9f71c76bad3cf9a0ec5fbb774c0a427a 100644 (file)
@@ -2579,7 +2579,7 @@ struct sk_buff *skb_segment(struct sk_buff *skb, int features)
                                          skb_network_header_len(skb));
                skb_copy_from_linear_data(skb, nskb->data, doffset);
 
-               if (pos >= offset + len)
+               if (fskb != skb_shinfo(skb)->frag_list)
                        continue;
 
                if (!sg) {