aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/nes
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2014-03-14 13:54:11 +0100
committerRoland Dreier <roland@purestorage.com>2014-03-24 10:05:31 -0700
commitb3fe628da2898cf1387105026dfed551ecc25de5 (patch)
tree6df463ae165b00ab3ca3f005e98853f8c97e2565 /drivers/infiniband/hw/nes
parentIB/srp: Avoid that writing into "add_target" hangs due to a cable pull (diff)
downloadlinux-dev-b3fe628da2898cf1387105026dfed551ecc25de5.tar.xz
linux-dev-b3fe628da2898cf1387105026dfed551ecc25de5.zip
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>
Diffstat (limited to 'drivers/infiniband/hw/nes')
0 files changed, 0 insertions, 0 deletions