]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
IB/srp: Fix a connection setup race
authorBart Van Assche <bart.vanassche@sandisk.com>
Mon, 18 May 2015 11:23:36 +0000 (13:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Jul 2015 17:10:14 +0000 (10:10 -0700)
commitf1a9203f14887ad1297645cef8d23b4db93955ae
tree0add0b0fba3275a41c750b6890aada1db122f097
parentce5f8d2f983b7822697089b15794326bb07ef303
IB/srp: Fix a connection setup race

commit 8de9fe3a1d4ac8c3e4953fa4b7d81f863f5196ad upstream.

Avoid that receiving a DREQ while RDMA channels are being
established causes target->qp_in_error to be reset.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Sagi Grimberg <sagig@mellanox.com>
Cc: Sebastian Parschauer <sebastian.riemer@profitbricks.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/ulp/srp/ib_srp.c