diff options
author | Vasu Dev <vasu.dev@intel.com> | 2011-05-16 23:45:51 (GMT) |
---|---|---|
committer | James Bottomley <jbottomley@parallels.com> | 2011-05-24 16:37:15 (GMT) |
commit | 0a219edb263ef93e4fd7a83804bea667e72a7bfa (patch) | |
tree | 4449e7bd98c46f3ab888a9ec7faedbc42e782024 /kernel/mutex.h | |
parent | 8d23f4ba38f399a6169613c6f158e39691aa694f (diff) | |
download | linux-fsl-qoriq-0a219edb263ef93e4fd7a83804bea667e72a7bfa.tar.xz |
[SCSI] libfc: fix race in SRR response
In this case fsp was freed before error handler was invoked,
this is fixed by having SRR fsp reference freed by exch
destructor so that fsp will be always held until it exch
is freed.
Also don't reset fsp->recov_seq since this is needed by
SRR error handler to do exch done.
Signed-off-by: Vasu Dev <vasu.dev@intel.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 'kernel/mutex.h')
0 files changed, 0 insertions, 0 deletions