OSDN Git Service

[SCSI] libcxgbi: pdu read fixes
authorkxie@chelsio.com <kxie@chelsio.com>
Thu, 23 Sep 2010 23:43:23 +0000 (16:43 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 7 Oct 2010 22:20:42 +0000 (17:20 -0500)
commite3d2ad8cb2775e4201446489efd1cf26c5bbce5c
treed5aa3e14f43072338a75555e6436c07aefe21bd1
parent24d3f95a5b6082ca4aba89071ca6259e15d3e564
[SCSI] libcxgbi: pdu read fixes

Fixed the locking and releasing skb in the case of error in the pdu
read path, and added define iscsi_task_cxgbi_data to access the
private data inside the iscsi_task.

Signed-off-by: Karen Xie <kxie@chelsio.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/cxgbi/libcxgbi.c
drivers/scsi/cxgbi/libcxgbi.h