diff options
author | Bart Van Assche <bvanassche@acm.org> | 2012-08-14 13:18:53 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-26 15:12:13 -0700 |
commit | 15e892b321f5669a48fbdfa3e9608ef1b185f8d8 (patch) | |
tree | 0b502534c30195b241cf491913c917ef5ace7d1d /crypto/crypto_wq.c | |
parent | 3a933fe49eaf78889e5cfb4faef6dd3f31d4b423 (diff) |
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 'crypto/crypto_wq.c')
0 files changed, 0 insertions, 0 deletions