Re: [PATCH net] ipv6: re-enable fragment header matching in ipv6_find_hdr

2016-03-03 Thread David Miller
From: Florian Westphal Date: Tue, 1 Mar 2016 16:15:16 +0100 > When ipv6_find_hdr is used to find a fragment header > (caller specifies target NEXTHDR_FRAGMENT) we erronously return > -ENOENT for all fragments with nonzero offset. > > Before commit 9195bb8e381d, when target was specified, we did

[PATCH net] ipv6: re-enable fragment header matching in ipv6_find_hdr

2016-03-01 Thread Florian Westphal
When ipv6_find_hdr is used to find a fragment header (caller specifies target NEXTHDR_FRAGMENT) we erronously return -ENOENT for all fragments with nonzero offset. Before commit 9195bb8e381d, when target was specified, we did not enter the exthdr walk loop as nexthdr == target so this used to work