Re: [PATCH net] ipv6: xfrm: Handle errors reported by xfrm6_find_1stfragopt()
From: David Miller <davem@davemloft.net>
Date: 2017-06-02 17:57:51
From: David Miller <davem@davemloft.net>
Date: 2017-06-02 17:57:51
From: Ben Hutchings <redacted> 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 <redacted>Applied and queued up for -stable, thanks Ben.