diff options
| author | James Smart <james.smart@broadcom.com> | 2020-10-20 13:27:13 -0700 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-10-26 21:42:38 -0400 |
| commit | e5785d3ec32f5f44dd88cd7b398e496742630469 (patch) | |
| tree | 676222a5acd4e440914bc4840e4d0e7ccbfda8b1 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | e7dab164a9aa457f89d4528452bdfc3e15ac98b6 (diff) | |
| download | linux-e5785d3ec32f5f44dd88cd7b398e496742630469.tar.gz linux-e5785d3ec32f5f44dd88cd7b398e496742630469.zip | |
scsi: lpfc: Re-fix use after free in lpfc_rq_buf_free()
Commit 9816ef6ecbc1 ("scsi: lpfc: Use after free in lpfc_rq_buf_free()")
was made to correct a use after free condition in lpfc_rq_buf_free().
Unfortunately, a subsequent patch cut on a tree without the fix
inadvertently reverted the fix.
Put the fix back: Move the freeing of the rqb_entry to after the print
function that references it.
Link: https://lore.kernel.org/r/20201020202719.54726-4-james.smart@broadcom.com
Fixes: 411de511c694 ("scsi: lpfc: Fix RQ empty firmware trap")
Cc: <stable@vger.kernel.org> # v4.17+
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
