commit | 4ce3dbe397d7b6b15f272ae757c78c35e9e4b61d | [log] [tgz] |
---|---|---|
author | Aviv Heller <avivh@mellanox.com> | Tue Nov 28 19:55:40 2017 +0200 |
committer | Steffen Klassert <steffen.klassert@secunet.com> | Fri Dec 01 07:58:53 2017 +0100 |
tree | 4b8f0c23319487d8767d3611f9a6dedb1dee69e4 | |
parent | e719135881f00c01ca400abb8a5dadaf297a24f9 [diff] |
xfrm: Fix xfrm_input() to verify state is valid when (encap_type < 0) Code path when (encap_type < 0) does not verify the state is valid before progressing. This will result in a crash if, for instance, x->km.state == XFRM_STATE_ACQ. Fixes: 7785bba299a8 ("esp: Add a software GRO codepath") Signed-off-by: Aviv Heller <avivh@mellanox.com> Signed-off-by: Yevgeny Kliteynik <kliteyn@mellanox.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>