]> git.baikalelectronics.ru Git - kernel.git/commit
IB/iser: Allow bind only when connection state is UP
authorSagi Grimberg <sagig@mellanox.com>
Tue, 2 Sep 2014 14:08:42 +0000 (17:08 +0300)
committerRoland Dreier <roland@purestorage.com>
Mon, 22 Sep 2014 16:46:42 +0000 (09:46 -0700)
commit98ed7466336e40765868e9ab482da7d0443d13c7
tree828ef4791a6afa683db2a76da1ae92e4934c6f8d
parentf198f9dbd3bce633219ae381b8a6e5d2ed5c1516
IB/iser: Allow bind only when connection state is UP

We need to fail the bind operation if the iser connection state != UP
(started teardown) and this should be done under the state lock.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/iser/iscsi_iser.c