summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2012-08-14 17:18:53 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-27 02:00:44 +0400
commitddffad3427e2e80fff78d2fc77f21afbba3d11b0 (patch)
treec2d2a884e1df0f92eabcd345430d3dd5ff79a28e /drivers/usb
parenta8e480349f91581d93eff8728fc41cbcd1c3eca1 (diff)
downloadlinux-ddffad3427e2e80fff78d2fc77f21afbba3d11b0.tar.xz
IB/srp: Fix a race condition
commit 220329916c72ee3d54ae7262b215a050f04a18fc upstream. 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 <joseph.glanville@orionvm.com.au> Reference: http://marc.info/?l=linux-rdma&m=134314367801595 Acked-by: David Dillow <dillowda@ornl.gov> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Roland Dreier <roland@purestorage.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions