Commit 33a7dd8d authored by Tomas Henzl's avatar Tomas Henzl Committed by Hao Zhang
Browse files

scsi: mpt3sas: Fix a memory leak

stable inclusion
from stable-v5.10.173
commit 30c7c72b6cf9d8c95f9b219c9d2e4e31b15bebe5
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8AGBT
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.10.y&id=30c7c72b6cf9d8c95f9b219c9d2e4e31b15bebe5

--------------------------------

[ Upstream commit 54dd9601 ]

Add a forgotten kfree().

Fixes: dbec4c90 ("scsi: mpt3sas: lockless command submission")
Link: https://lore.kernel.org/r/20230207152159.18627-1-thenzl@redhat.com


Signed-off-by: default avatarTomas Henzl <thenzl@redhat.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarHao Zhang <Hao.Zhang@windriver.com>
parent daae7f8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment