diff options
author | Aviv Heller <avivh@mellanox.com> | 2017-11-28 19:55:40 +0200 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2017-12-01 07:58:53 +0100 |
commit | 4ce3dbe397d7b6b15f272ae757c78c35e9e4b61d (patch) | |
tree | 4b8f0c23319487d8767d3611f9a6dedb1dee69e4 /samples | |
parent | e719135881f00c01ca400abb8a5dadaf297a24f9 (diff) | |
download | linux-stable-4ce3dbe397d7b6b15f272ae757c78c35e9e4b61d.tar.gz linux-stable-4ce3dbe397d7b6b15f272ae757c78c35e9e4b61d.tar.bz2 linux-stable-4ce3dbe397d7b6b15f272ae757c78c35e9e4b61d.zip |
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions