scsi: libfc: Check xid when looking up REC exchanges
authorHannes Reinecke <hare@suse.de>
Thu, 13 Oct 2016 13:10:55 +0000 (15:10 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2016 22:29:53 +0000 (17:29 -0500)
commite0a25286d8acd97ac0b9db5b8b776755fc8b62fa
tree52b0da38545da53f53455a9159e0693846198d0f
parent87da3b832e54bcee7fac220bec00ca42b931bab0
scsi: libfc: Check xid when looking up REC exchanges

We currently can only lookup the local xid, so we need
to reject REC with empty rxid.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libfc/fc_exch.c