net: checksum: fix warning in skb_checksum
[firefly-linux-kernel-4.4.55.git] / net / core / skbuff.c
index 31aab5376cb4df01ff4b39cadf8be88395262c18..e4115597b38bdb1e1c16d2086aa2bb5df7e42450 100644 (file)
@@ -2003,7 +2003,7 @@ __wsum skb_checksum(const struct sk_buff *skb, int offset,
                    int len, __wsum csum)
 {
        const struct skb_checksum_ops ops = {
-               .update  = csum_partial,
+               .update  = csum_partial_ext,
                .combine = csum_block_add_ext,
        };