summaryrefslogtreecommitdiff
path: root/drivers/w1/w1_int.h
diff options
context:
space:
mode:
authorYi Zou <yi.zou@intel.com>2011-08-25 19:41:03 (GMT)
committerJames Bottomley <JBottomley@Parallels.com>2011-08-29 02:40:30 (GMT)
commit3ee17f59c5378af8d245f82498e3919b7de2ab40 (patch)
tree42690748a14a6fcd022bab3f35a60da2fac30c77 /drivers/w1/w1_int.h
parent21cc0bd3a9e524b44a4f0ff05ac612aa0ff1a26e (diff)
downloadlinux-fsl-qoriq-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/w1/w1_int.h')
0 files changed, 0 insertions, 0 deletions