net: Use skb_checksum_start_offset()
[deliverable/linux.git] / net / core / skbuff.c
index 8814a9a52f47c3c73a1a65b8b20a8c5cd4d07e46..19d6c21220fd47bb7141d8376a55c1785627a5e8 100644 (file)
@@ -1824,7 +1824,7 @@ void skb_copy_and_csum_dev(const struct sk_buff *skb, u8 *to)
        long csstart;
 
        if (skb->ip_summed == CHECKSUM_PARTIAL)
-               csstart = skb->csum_start - skb_headroom(skb);
+               csstart = skb_checksum_start_offset(skb);
        else
                csstart = skb_headlen(skb);
 
This page took 0.084188 seconds and 5 git commands to generate.