diff options
author | James Smart <james.smart@broadcom.com> | 2016-03-31 14:12:29 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-04-11 16:57:09 -0400 |
commit | a6517db9006eb618dfde54f4bf6a9a8bc21e16e7 (patch) | |
tree | d50ed2d0cc6d34b76f012d9187125d6f80e5d439 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ae09c765109293b600ba9169aa3d632e1ac1a843 (diff) |
lpfc: Fix crash when unregistering default rpi.
The default rpi completion handler does back to back puts to force the
removal of the ndlp. This ends up calling lpfc_unreg_rpi after the
reference count is at 0.
Fix: Check the reference count of the ndlp before getting the ref to
make sure we are not getting a reference on a removed object.
Signed-off-by: Dick Kennedy <dick.kennedy@avagotech.com>
Signed-off-by: James Smart <james.smart@avagotech.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions