diff options
| author | James Smart <[email protected]> | 2019-08-14 16:56:41 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-08-19 22:41:09 -0400 |
| commit | 61184f1742c901160ceead85b3f1b3d03038f1d0 (patch) | |
| tree | 2b16a3885ddb4ecaecf868e1a8b14b88fb084478 /tools/perf/scripts/python/bin | |
| parent | 08180db2542b94e93cbdffd2a42cac2db147114a (diff) | |
scsi: lpfc: Fix Oops in nvme_register with target logout/login
lpfc_nvme_register_port hit a null prev_ndlp pointer in a test with lots of
target ports swapping addresses. The oldport value was stale, thus it's
ndlp (prev_ndlp set to it) was used.
Fix by moving oldrport pointer checks, and if used prev_ndlp pointer
assignment, to be done while the lock is held.
Signed-off-by: Dick Kennedy <[email protected]>
Signed-off-by: James Smart <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions