diff options
Diffstat (limited to 'net/ipv6/ip6_output.c')
-rw-r--r-- | net/ipv6/ip6_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c index b2c092c6b9dc..e2b8db6b9aef 100644 --- a/net/ipv6/ip6_output.c +++ b/net/ipv6/ip6_output.c | |||
@@ -514,7 +514,7 @@ int ip6_find_1stfragopt(struct sk_buff *skb, u8 **nexthdr) | |||
514 | u16 offset = sizeof(struct ipv6hdr); | 514 | u16 offset = sizeof(struct ipv6hdr); |
515 | struct ipv6_opt_hdr *exthdr = | 515 | struct ipv6_opt_hdr *exthdr = |
516 | (struct ipv6_opt_hdr *)(ipv6_hdr(skb) + 1); | 516 | (struct ipv6_opt_hdr *)(ipv6_hdr(skb) + 1); |
517 | unsigned int packet_len = skb->tail - skb_network_header(skb); | 517 | unsigned int packet_len = skb->tail - skb->network_header; |
518 | int found_rhdr = 0; | 518 | int found_rhdr = 0; |
519 | *nexthdr = &ipv6_hdr(skb)->nexthdr; | 519 | *nexthdr = &ipv6_hdr(skb)->nexthdr; |
520 | 520 | ||