]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[IPV6]: udp.c build fix
authorDavid S. Miller <davem@sunset.davemloft.net>
Wed, 15 Nov 2006 06:09:20 +0000 (22:09 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:23:46 +0000 (21:23 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/udp.c

index bb45b9b7cbd946bff60c232b15191a4b2c9fc7e2..efa8950ddd3009905b615665cea51712393057ac 100644 (file)
@@ -385,7 +385,7 @@ static inline int udp6_csum_init(struct sk_buff *skb, struct udphdr *uh)
        if (skb->ip_summed != CHECKSUM_UNNECESSARY)
                skb->csum = ~csum_unfold(csum_ipv6_magic(&skb->nh.ipv6h->saddr,
                                                         &skb->nh.ipv6h->daddr,
-                                                        ulen, IPPROTO_UDP,
+                                                        skb->len, IPPROTO_UDP,
                                                         0));
 
        return (UDP_SKB_CB(skb)->partial_cov = 0);