OpenCloudOS-Kernel/drivers/infiniband/ulp/srp
Bart Van Assche b3fe628da2 IB/srp: Fix a race condition between failing I/O and I/O completion
Avoid that srp_terminate_io() can access req->scmnd after it has been
cleared by the I/O completion code. Do this by protecting req->scmnd
accesses from srp_terminate_io() via locking

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2014-03-24 10:05:31 -07:00
..
Kbuild IB: Add SCSI RDMA Protocol (SRP) initiator 2005-11-02 14:07:13 -08:00
Kconfig [SCSI] ib_srp: convert to use the srp transport class 2007-10-12 14:37:42 -04:00
ib_srp.c IB/srp: Fix a race condition between failing I/O and I/O completion 2014-03-24 10:05:31 -07:00
ib_srp.h IB/srp: Avoid duplicate connections 2014-03-24 10:05:31 -07:00