diff --git a/net/ipv6/exthdrs.c b/net/ipv6/exthdrs.c index 1f31a59fd821..9d6e5bffcaed 100644 --- a/net/ipv6/exthdrs.c +++ b/net/ipv6/exthdrs.c @@ -202,6 +202,8 @@ static bool ip6_parse_tlv(bool hopbyhop, case IPV6_TLV_HAO: if (!ipv6_dest_hao(skb, off)) return false; + + nh = skb_network_header(skb); break; #endif default: