Re: [PATCH net] ipv6: xfrm: Handle errors reported by xfrm6_find_1stfragopt()

2017-06-02 Thread David Miller
From: Ben Hutchings Date: Wed, 31 May 2017 13:15:41 +0100 > xfrm6_find_1stfragopt() may now return an error code and we must > not treat it as a length. > > Fixes: 2423496af35d ("ipv6: Prevent overrun when parsing v6 header options") > Signed-off-by: Ben Hutchings Applied and queued up for -st

Re: [PATCH net] ipv6: xfrm: Handle errors reported by xfrm6_find_1stfragopt()

2017-05-31 Thread Craig Gallek
On Wed, May 31, 2017 at 8:15 AM, Ben Hutchings wrote: > xfrm6_find_1stfragopt() may now return an error code and we must > not treat it as a length. > > Fixes: 2423496af35d ("ipv6: Prevent overrun when parsing v6 header options") > Signed-off-by: Ben Hutchings > --- > Commits 2423496af35d "ipv6:

[PATCH net] ipv6: xfrm: Handle errors reported by xfrm6_find_1stfragopt()

2017-05-31 Thread Ben Hutchings
xfrm6_find_1stfragopt() may now return an error code and we must not treat it as a length. Fixes: 2423496af35d ("ipv6: Prevent overrun when parsing v6 header options") Signed-off-by: Ben Hutchings --- Commits 2423496af35d "ipv6: Prevent overrun when parsing v6 header options" and 7dd7eb9513bd "ip