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

2016-05-16 Thread Tom Herbert
On Mon, May 16, 2016 at 11:19 AM, Shmulik Ladkani wrote: > Hi, > > On Sun, 15 May 2016 16:42:24 -0700 Tom Herbert wrote: >> In ip6_input_finish the nexthdr protocol is retrieved from the >> next header offset that is returned in the cb of the skb.

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

2016-05-16 Thread Shmulik Ladkani
Hi, On Sun, 15 May 2016 16:42:24 -0700 Tom Herbert 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

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

2016-05-15 Thread Tom Herbert
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