diff options
Diffstat (limited to 'net/ipv6/exthdrs.c')
-rw-r--r-- | net/ipv6/exthdrs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv6/exthdrs.c b/net/ipv6/exthdrs.c index f34cc2bd489a..a6a275db88cd 100644 --- a/net/ipv6/exthdrs.c +++ b/net/ipv6/exthdrs.c | |||
@@ -306,7 +306,7 @@ static int ipv6_destopt_rcv(struct sk_buff **skbp) | |||
306 | if (ip6_parse_tlv(tlvprocdestopt_lst, skbp)) { | 306 | if (ip6_parse_tlv(tlvprocdestopt_lst, skbp)) { |
307 | dst_release(dst); | 307 | dst_release(dst); |
308 | skb = *skbp; | 308 | skb = *skbp; |
309 | skb->h.raw += (skb_transport_header(skb)[1] + 1) << 3; | 309 | skb->transport_header += (skb_transport_header(skb)[1] + 1) << 3; |
310 | opt = IP6CB(skb); | 310 | opt = IP6CB(skb); |
311 | #ifdef CONFIG_IPV6_MIP6 | 311 | #ifdef CONFIG_IPV6_MIP6 |
312 | opt->nhoff = dstbuf; | 312 | opt->nhoff = dstbuf; |
@@ -444,7 +444,7 @@ looped_back: | |||
444 | } | 444 | } |
445 | 445 | ||
446 | opt->lastopt = opt->srcrt = skb_network_header_len(skb); | 446 | opt->lastopt = opt->srcrt = skb_network_header_len(skb); |
447 | skb->h.raw += (hdr->hdrlen + 1) << 3; | 447 | skb->transport_header += (hdr->hdrlen + 1) << 3; |
448 | opt->dst0 = opt->dst1; | 448 | opt->dst0 = opt->dst1; |
449 | opt->dst1 = 0; | 449 | opt->dst1 = 0; |
450 | opt->nhoff = (&hdr->nexthdr) - skb_network_header(skb); | 450 | opt->nhoff = (&hdr->nexthdr) - skb_network_header(skb); |
@@ -752,7 +752,7 @@ int ipv6_parse_hopopts(struct sk_buff **skbp) | |||
752 | opt->hop = sizeof(struct ipv6hdr); | 752 | opt->hop = sizeof(struct ipv6hdr); |
753 | if (ip6_parse_tlv(tlvprochopopt_lst, skbp)) { | 753 | if (ip6_parse_tlv(tlvprochopopt_lst, skbp)) { |
754 | skb = *skbp; | 754 | skb = *skbp; |
755 | skb->h.raw += (skb_transport_header(skb)[1] + 1) << 3; | 755 | skb->transport_header += (skb_transport_header(skb)[1] + 1) << 3; |
756 | opt = IP6CB(skb); | 756 | opt = IP6CB(skb); |
757 | opt->nhoff = sizeof(struct ipv6hdr); | 757 | opt->nhoff = sizeof(struct ipv6hdr); |
758 | return 1; | 758 | return 1; |