]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv4/raw.c
[NETFILTER]: nf_nat: use HW checksumming when possible
[linux-2.6-omap-h63xx.git] / net / ipv4 / raw.c
index bf101dc1a9720aeda183dd6866101ada4652e9b2..24d7c9f319184aae8a894e25a20eeaad9fa4ce56 100644 (file)
@@ -297,7 +297,7 @@ static int raw_send_hdrinc(struct sock *sk, void *from, size_t length,
 
        skb->ip_summed = CHECKSUM_NONE;
 
-       skb->h.raw = skb->nh.raw;
+       skb->transport_header = skb->network_header;
        err = memcpy_fromiovecend((void *)iph, from, 0, length);
        if (err)
                goto error_fault;