commit | 0be310979e5e1272d4c5b557642df4da4ce7eba4 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Jan 25 11:44:34 2021 +0300 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Jan 26 22:08:57 2021 -0500 |
tree | be500d9a6d8f2bd115d63f47000a9839bfc3b1a3 | |
parent | bc2b4e68023174e508a4a9605384a7fda475f8a8 [diff] |
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>