Commit 7d9e9b3d authored by David S. Miller's avatar David S. Miller

[IPV6]: udp.c build fix

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7d533f94
...@@ -385,7 +385,7 @@ static inline int udp6_csum_init(struct sk_buff *skb, struct udphdr *uh) ...@@ -385,7 +385,7 @@ static inline int udp6_csum_init(struct sk_buff *skb, struct udphdr *uh)
if (skb->ip_summed != CHECKSUM_UNNECESSARY) if (skb->ip_summed != CHECKSUM_UNNECESSARY)
skb->csum = ~csum_unfold(csum_ipv6_magic(&skb->nh.ipv6h->saddr, skb->csum = ~csum_unfold(csum_ipv6_magic(&skb->nh.ipv6h->saddr,
&skb->nh.ipv6h->daddr, &skb->nh.ipv6h->daddr,
ulen, IPPROTO_UDP, skb->len, IPPROTO_UDP,
0)); 0));
return (UDP_SKB_CB(skb)->partial_cov = 0); return (UDP_SKB_CB(skb)->partial_cov = 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment