linux/drivers/scsi/libfc
Yi Zou f56635a869 [SCSI] libfc: always initialize the FCoE DDP exchange id for fsp as FC_XID_UNKNOWN
The fsp's xfer_ddp is used as indication of the exchange id for the DDPed
I/O. We should always initialize it as FC_XID_UNKNOWN for a newly allocated
fsp, otherwise the fsp allocated in fc_fcp, i.e., not from queuecommand like
LUN RESET that is not doing DDP may still think DDP is setup for it since xid
0 is valid and goes on to call fc_fcp_ddp_done() in fc_fcp_resp() from
fc_tm_done(). So, set xfer_ddp as FC_XID_UNKNOWN in fc_fcp_pkt_alloc() now.

Also removes the setting of fsp->lp as it's already done when fsp is allocated.

Signed-off-by: Yi Zou <yi.zou@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2011-02-12 10:56:53 -06:00
..
fc_disc.c [SCSI] libfc: Do not let disc work cancel itself 2010-10-25 15:11:37 -05:00
fc_elsct.c [SCSI] libfc: add fc_fill_reply_hdr() and fc_fill_hdr() 2010-07-28 09:06:00 -05:00
fc_exch.c [SCSI] libfc: fix exchange being deleted when the abort itself is timed out 2010-12-21 12:24:26 -06:00
fc_fcp.c [SCSI] libfc: always initialize the FCoE DDP exchange id for fsp as FC_XID_UNKNOWN 2011-02-12 10:56:53 -06:00
fc_frame.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
fc_libfc.c [SCSI] libfc: add fc_fill_reply_hdr() and fc_fill_hdr() 2010-07-28 09:06:00 -05:00
fc_libfc.h [SCSI] libfc: add print of exchange id for debugging fc_fcp 2010-12-21 12:24:25 -06:00
fc_lport.c [SCSI] libfc: fix statistics for FCP input/output megabytes 2010-12-21 12:24:34 -06:00
fc_npiv.c [SCSI] libfc: Move the port_id into lport 2010-05-16 22:22:34 -04:00
fc_rport.c [SCSI] libfc: fix memory leakage in remote port 2010-12-21 12:24:24 -06:00
Makefile [SCSI] libfc: add some generic NPIV support routines to libfc 2009-12-04 12:00:56 -06:00