commit | cb45e5295a21eba23edc64839cd60122805f37f3 | [log] [tgz] |
---|---|---|
author | James Smart <jsmart2021@gmail.com> | Wed Jun 21 10:51:23 2017 -0700 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Jun 26 15:01:01 2017 -0400 |
tree | 3b0eb7c5f4c66b88a7edd88833fd4ddd15232e91 | |
parent | 00cefeb964f525672b5344446e5bb72188b03e38 [diff] |
scsi: lpfc: fix refcount error on node list A change in remote port removal introduced a spurious put which can cause a premature structure teardown. The affects were most notable when the driver attempted to unload as a null pointer would be hit. Fix by removing the unnecessary put. Signed-off-by: James Smart <james.smart@broadcom.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>