Files
linux/drivers/scsi
Dick Kennedy f5b7da1110 scsi: lpfc: Fix oops if nvmet_fc_register_targetport fails
commit e7981a2c72 upstream.

if nvmet targetport registration fails, the driver encounters a NULL
pointer oops in lpfc_hb_timeout_handler.

To fix: if registration fails, ensure nvmet_support is cleared on the
port structure.

Also enhanced the log message on failure.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-30 08:40:50 +00:00
..
2017-09-07 12:12:43 -07:00
2017-09-07 12:12:43 -07:00
2017-09-07 12:12:43 -07:00
2017-09-07 12:12:43 -07:00
2017-08-25 17:21:11 -04:00
2017-08-24 22:29:06 -04:00
2016-05-10 22:01:07 -04:00
2017-09-05 08:18:42 -04:00
2017-08-25 17:21:10 -04:00
2017-08-08 11:49:51 -04:00
2016-01-27 20:36:10 +08:00
2016-01-27 20:36:10 +08:00
2017-08-25 17:21:11 -04:00
2017-04-13 13:58:20 -04:00
2017-09-07 12:12:43 -07:00
2017-09-07 12:12:43 -07:00
2016-02-23 21:27:02 -05:00
2017-08-08 11:49:51 -04:00
2017-04-26 18:32:29 -04:00