diff options
Diffstat (limited to 'net/ipv6/ip6_udp_tunnel.c')
-rw-r--r-- | net/ipv6/ip6_udp_tunnel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv6/ip6_udp_tunnel.c b/net/ipv6/ip6_udp_tunnel.c index 14dacf1df529..a7520528ecd2 100644 --- a/net/ipv6/ip6_udp_tunnel.c +++ b/net/ipv6/ip6_udp_tunnel.c | |||
@@ -73,8 +73,8 @@ int udp_tunnel6_xmit_skb(struct dst_entry *dst, struct sock *sk, | |||
73 | struct sk_buff *skb, | 73 | struct sk_buff *skb, |
74 | struct net_device *dev, struct in6_addr *saddr, | 74 | struct net_device *dev, struct in6_addr *saddr, |
75 | struct in6_addr *daddr, | 75 | struct in6_addr *daddr, |
76 | __u8 prio, __u8 ttl, __be16 src_port, | 76 | __u8 prio, __u8 ttl, __be32 label, |
77 | __be16 dst_port, bool nocheck) | 77 | __be16 src_port, __be16 dst_port, bool nocheck) |
78 | { | 78 | { |
79 | struct udphdr *uh; | 79 | struct udphdr *uh; |
80 | struct ipv6hdr *ip6h; | 80 | struct ipv6hdr *ip6h; |
@@ -98,7 +98,7 @@ int udp_tunnel6_xmit_skb(struct dst_entry *dst, struct sock *sk, | |||
98 | __skb_push(skb, sizeof(*ip6h)); | 98 | __skb_push(skb, sizeof(*ip6h)); |
99 | skb_reset_network_header(skb); | 99 | skb_reset_network_header(skb); |
100 | ip6h = ipv6_hdr(skb); | 100 | ip6h = ipv6_hdr(skb); |
101 | ip6_flow_hdr(ip6h, prio, htonl(0)); | 101 | ip6_flow_hdr(ip6h, prio, label); |
102 | ip6h->payload_len = htons(skb->len); | 102 | ip6h->payload_len = htons(skb->len); |
103 | ip6h->nexthdr = IPPROTO_UDP; | 103 | ip6h->nexthdr = IPPROTO_UDP; |
104 | ip6h->hop_limit = ttl; | 104 | ip6h->hop_limit = ttl; |