diff options
author | 2022-08-18 18:17:31 -0700 | |
---|---|---|
committer | 2022-08-31 23:39:58 -0400 | |
commit | 59b7e210a522b836a01516c71ee85d1d92c1f075 (patch) | |
tree | 00d1e15bbd483707ada72ee050157cb1d27162df /tools/perf/scripts/python | |
parent | scsi: lpfc: Fix unsolicited FLOGI receive handling during PT2PT discovery (diff) | |
download | linux-dev-59b7e210a522b836a01516c71ee85d1d92c1f075.tar.xz linux-dev-59b7e210a522b836a01516c71ee85d1d92c1f075.zip |
scsi: lpfc: Fix null ndlp ptr dereference in abnormal exit path for GFT_ID
An error case exit from lpfc_cmpl_ct_cmd_gft_id() results in a call to
lpfc_nlp_put() with a null pointer to a nodelist structure.
Changed lpfc_cmpl_ct_cmd_gft_id() to initialize nodelist pointer upon
entry.
Link: https://lore.kernel.org/r/20220819011736.14141-3-jsmart2021@gmail.com
Co-developed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions