2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-11-20 00:26:39 +08:00

[IPV6]: udp.c build fix

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2006-11-14 22:09:20 -08:00
parent 7d533f9418
commit 7d9e9b3df4

View 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);