Commit 434810a
committed
scsi: mpt3sas: Fix a fw_event memory leak
JIRA: https://issues.redhat.com/browse/RHEL-61878
In _mpt3sas_fw_work() the fw_event reference is removed, it should also
be freed in all cases.
Fixes: 4318c73 ("scsi: mpt3sas: Handle NVMe PCIe device related events generated from firmware.")
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Link: https://lore.kernel.org/r/20250723153018.50518-1-thenzl@redhat.com
Acked-by: Sathya Prakash Veerichetty <sathya.prakash@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit 3e90b38)
Signed-off-by: Tomas Henzl <thenzl@redhat.com>1 parent 45ee25b commit 434810a
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10790 | 10790 | | |
10791 | 10791 | | |
10792 | 10792 | | |
10793 | | - | |
10794 | | - | |
| 10793 | + | |
10795 | 10794 | | |
10796 | 10795 | | |
10797 | 10796 | | |
| |||
0 commit comments