[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160516211925.1498653f@halley>
Date: Mon, 16 May 2016 21:19:25 +0300
From: Shmulik Ladkani <shmulik.ladkani@...il.com>
To: Tom Herbert <tom@...bertland.com>
Cc: <davem@...emloft.net>, <netdev@...r.kernel.org>,
<kernel-team@...com>
Subject: Re: [PATCH v5 net-next 03/14] ipv6: Fix nexthdr for reinjection
Hi,
On Sun, 15 May 2016 16:42:24 -0700 Tom Herbert <tom@...bertland.com> 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 <tom@...bertland.com>
Reviewed-by: Shmulik Ladkani <shmulik.ladkani@...il.com>
Powered by blists - more mailing lists