Merge tag 'virt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[firefly-linux-kernel-4.4.55.git] / net / ipv4 / ip_output.c
index 3e98ed2bff55d7328aae7209ecbda4f78445c87a..5e12dca7b3dd4914af0f1f0e333c59f6547968f8 100644 (file)
@@ -598,6 +598,7 @@ slow_path:
        /* for offloaded checksums cleanup checksum before fragmentation */
        if ((skb->ip_summed == CHECKSUM_PARTIAL) && skb_checksum_help(skb))
                goto fail;
+       iph = ip_hdr(skb);
 
        left = skb->len - hlen;         /* Space per frame */
        ptr = hlen;             /* Where to start from */