lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
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