diff options
author | Yi Zou <yi.zou@intel.com> | 2011-08-25 23:41:03 +0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-08-29 06:40:30 +0400 |
commit | 3ee17f59c5378af8d245f82498e3919b7de2ab40 (patch) | |
tree | 42690748a14a6fcd022bab3f35a60da2fac30c77 /drivers/scsi/bnx2i | |
parent | 21cc0bd3a9e524b44a4f0ff05ac612aa0ff1a26e (diff) | |
download | linux-3ee17f59c5378af8d245f82498e3919b7de2ab40.tar.xz |
[SCSI] libfc: fix referencing to fc_fcp_pkt from the frame pointer via fr_fsp()
In commit 6a716a8, while releasing the DDP context in case frame_send() failed,
the frame may already be freed, so we should store the pointer to fc_fcp_pkt and
release the DDP context using the locally stored fsp instead of getting fsp from
the fr_fsp(fp) on a frame.
Signed-off-by: Yi Zou <yi.zou@intel.com>
Reported-by: Bhanu Prakash Gollapudi <bprakash@broadcom.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>
Diffstat (limited to 'drivers/scsi/bnx2i')
0 files changed, 0 insertions, 0 deletions