aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorYi Zou <[email protected]>2011-08-25 12:41:03 -0700
committerJames Bottomley <[email protected]>2011-08-28 19:40:30 -0700
commit3ee17f59c5378af8d245f82498e3919b7de2ab40 (patch)
tree42690748a14a6fcd022bab3f35a60da2fac30c77 /lib/mpi/mpiutil.c
parent21cc0bd3a9e524b44a4f0ff05ac612aa0ff1a26e (diff)
[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 <[email protected]> Reported-by: Bhanu Prakash Gollapudi <[email protected]> Tested-by: Ross Brattain <[email protected]> Signed-off-by: Robert Love <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions