diff options
author | Sagiv Ozeri | 2018-11-08 15:46:11 +0100 |
---|---|---|
committer | David S. Miller | 2018-11-09 04:38:19 +0100 |
commit | fa5c448d98f0df660bfcad3dd5facc027ef84cd3 (patch) | |
tree | b3302708cdb9cce6cb78aeb27d785ccfd17acd2a /crypto/drbg.c | |
parent | qed: Fix SPQ entries not returned to pool in error flows (diff) | |
download | kernel-qcow2-linux-fa5c448d98f0df660bfcad3dd5facc027ef84cd3.tar.gz kernel-qcow2-linux-fa5c448d98f0df660bfcad3dd5facc027ef84cd3.tar.xz kernel-qcow2-linux-fa5c448d98f0df660bfcad3dd5facc027ef84cd3.zip |
qed: Fix potential memory corruption
A stuck ramrod should be deleted from the completion_pending list,
otherwise it will be added again in the future and corrupt the list.
Return error value to inform that ramrod is stuck and should be deleted.
Signed-off-by: Sagiv Ozeri <sagiv.ozeri@cavium.com>
Signed-off-by: Denis Bolotin <denis.bolotin@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/drbg.c')
0 files changed, 0 insertions, 0 deletions