diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-11-14 22:09:20 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-02 21:23:46 -0800 |
commit | 7d9e9b3df491d5e1c3ed76c5cff7ace6094124c1 (patch) | |
tree | 6a88d03b005f64fcaf4ef0e98a43f86cde12d6a9 /net | |
parent | 7d533f941856d7d192bfec28581e130dda9c6688 (diff) |
[IPV6]: udp.c build fix
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv6/udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c index bb45b9b7cbd..efa8950ddd3 100644 --- a/net/ipv6/udp.c +++ b/net/ipv6/udp.c @@ -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); |