Subject: Re: [PATCH v5 net-next 03/14] ipv6: Fix nexthdr for reinjection

From: Shmulik Ladkani <[email-masked]>
Date: Mon, 16 May 2016 21:19:25 +0300

Hi,

On Sun, 15 May 2016 16:42:24 -0700 Tom Herbert <[email-masked]> wrote:
> In ip6_input_finish the nexthdr protocol is retrieved from the
> next header offset that is returned in the cb of the skb.
> This method does not work for UDP encapsulation that may not
> even have a concept of a nexthdr field (e.g. FOU).
> 
> This patch checks for a final protocol (INET6_PROTO_FINAL) when a
> protocol handler returns > 1. If the protocol is not final then

If you respin due to other reasons:  s/> 1/> 0/

> resubmission is performed on nhoff value. If the protocol is final
> then the nexthdr is taken to be the return value.
> 
> Signed-off-by: Tom Herbert <[email-masked]>

Reviewed-by: Shmulik Ladkani <[email-masked]>