scsi: bnx2fc: Check for connection offload before sending RRQ.
authorChad Dupuis <chad.dupuis@cavium.com>
Mon, 26 Jun 2017 15:59:33 +0000 (08:59 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 28 Jun 2017 01:39:09 +0000 (21:39 -0400)
commitde08f46b90d3b353f53d273604e6544186564e59
tree274791201df7c1b323e55b71d87a220e8210d92e
parent56ffd3a0500e3b0c133da451036074fd0a8c3f1c
scsi: bnx2fc: Check for connection offload before sending RRQ.

If the connection is not offloaded then the backpointers from the tgt
pointer are undefined.

Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/bnx2fc/bnx2fc_els.c