]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[SCSI] libfc: don't exch_done() on invalid sequence ptr
authorYi Zou <yi.zou@intel.com>
Fri, 6 Jul 2012 17:40:26 +0000 (10:40 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 20 Jul 2012 07:58:56 +0000 (08:58 +0100)
commitdb95fc004ea50f661a98c9f25585c0a734b5c238
treea067a9c856130f035f3fff0de932e2dc66d25eaa
parent95fdd5e980e6eea4579c15043f7a9be6ad63012c
[SCSI] libfc: don't exch_done() on invalid sequence ptr

The lport_recv(), i.e., fc_lport_recv_req() may get called w/o the sequence ptr
being set in fr_seq(), particularly in the case of vn2vn mode, this may happen
if the passive fcp provider, e.g., tcm_fc, has not been registered yet.

Signed-off-by: Yi Zou <yi.zou@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/libfc/fc_lport.c