diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-01-25 09:44:34 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-01-27 04:08:57 +0100 |
commit | 0be310979e5e1272d4c5b557642df4da4ce7eba4 (patch) | |
tree | be500d9a6d8f2bd115d63f47000a9839bfc3b1a3 /drivers/scsi/mvumi.h | |
parent | scsi: qla2xxx: Fix some memory corruption (diff) | |
download | linux-0be310979e5e1272d4c5b557642df4da4ce7eba4.tar.xz linux-0be310979e5e1272d4c5b557642df4da4ce7eba4.zip |
scsi: lpfc: Fix ancient double free
The "pmb" pointer is freed at the start of the function and then freed
again in the error handling code.
Link: https://lore.kernel.org/r/YA6E8rO51hE56SVw@mwanda
Fixes: 92d7f7b0cde3 ("[SCSI] lpfc: NPIV: add NPIV support on top of SLI-3")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mvumi.h')
0 files changed, 0 insertions, 0 deletions