OSDN Git Service

[SK_BUFF]: Use the helpers to get the layer header pointer
[uclinux-h8/linux.git] / net / ipv4 / ip_output.c
index 11ab100..11a6ac7 100644 (file)
@@ -601,7 +601,7 @@ slow_path:
                /*
                 *      Copy a block of the IP datagram.
                 */
-               if (skb_copy_bits(skb, ptr, skb2->h.raw, len))
+               if (skb_copy_bits(skb, ptr, skb_transport_header(skb2), len))
                        BUG();
                left -= len;