diff options
author | Sagiv Ozeri <sagiv.ozeri@cavium.com> | 2018-11-08 17:46:11 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-09 06:38:19 +0300 |
commit | fa5c448d98f0df660bfcad3dd5facc027ef84cd3 (patch) | |
tree | b3302708cdb9cce6cb78aeb27d785ccfd17acd2a /drivers/net/ethernet/dec | |
parent | fb5e7438e7a3c8966e04ccb0760170e9e06f3699 (diff) | |
download | linux-fa5c448d98f0df660bfcad3dd5facc027ef84cd3.tar.xz |
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 'drivers/net/ethernet/dec')
0 files changed, 0 insertions, 0 deletions