Commit f791728e authored by Sagiv Ozeri's avatar Sagiv Ozeri Committed by Greg Kroah-Hartman
Browse files

qed: Fix potential memory corruption



[ Upstream commit fa5c448d ]

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: default avatarSagiv Ozeri <sagiv.ozeri@cavium.com>
Signed-off-by: default avatarDenis Bolotin <denis.bolotin@cavium.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b228e58a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment