diff options
author | Bart Van Assche <[email protected]> | 2012-08-14 13:18:53 +0000 |
---|---|---|
committer | Roland Dreier <[email protected]> | 2012-08-15 12:00:48 -0700 |
commit | 220329916c72ee3d54ae7262b215a050f04a18fc (patch) | |
tree | 0d89f6e3cc8f17b070c16665d3df4e883fda9ddc /tools/perf/util/trace-event-scripting.c | |
parent | 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee (diff) |
IB/srp: Fix a race condition
Avoid a crash caused by the scmnd->scsi_done(scmnd) call in
srp_process_rsp() being invoked with scsi_done == NULL. This can
happen if a reply is received during or after a command abort.
Reported-by: Joseph Glanville <[email protected]>
Reference: http://marc.info/?l=linux-rdma&m=134314367801595
Cc: <[email protected]>
Acked-by: David Dillow <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions