commit | 6e80ac5cc992ab6256c3dae87f7e57db15e1a58c | [log] [tgz] |
---|---|---|
author | Ben Hutchings <ben@decadent.org.uk> | Wed May 31 13:15:41 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Jun 02 13:57:27 2017 -0400 |
tree | ab042c99dd3349f1cf7d8af7dd585db670d6ff58 | |
parent | 13fb6c2c7fe10ce39a5549c268e35341d83f2b3d [diff] |
ipv6: xfrm: Handle errors reported by xfrm6_find_1stfragopt() 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 <ben@decadent.org.uk> Acked-by: Craig Gallek <kraig@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>