diff options
-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 bb45b9b7cbd9..efa8950ddd30 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) | |||
385 | if (skb->ip_summed != CHECKSUM_UNNECESSARY) | 385 | if (skb->ip_summed != CHECKSUM_UNNECESSARY) |
386 | skb->csum = ~csum_unfold(csum_ipv6_magic(&skb->nh.ipv6h->saddr, | 386 | skb->csum = ~csum_unfold(csum_ipv6_magic(&skb->nh.ipv6h->saddr, |
387 | &skb->nh.ipv6h->daddr, | 387 | &skb->nh.ipv6h->daddr, |
388 | ulen, IPPROTO_UDP, | 388 | skb->len, IPPROTO_UDP, |
389 | 0)); | 389 | 0)); |
390 | 390 | ||
391 | return (UDP_SKB_CB(skb)->partial_cov = 0); | 391 | return (UDP_SKB_CB(skb)->partial_cov = 0); |