diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2014-07-02 16:19:26 +0300 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-09-15 14:02:30 -0700 |
commit | 38a8316b5d80ddee071d493bae567185c07de359 (patch) | |
tree | af8a207e66b220edb57aa2a6b8d27bba6a9c490d /net/tipc/net.c | |
parent | 0fc4ea701fcf5bc51ace4e288af5be741465f776 (diff) |
Target/iser: Avoid calling rdma_disconnect twice
rdma_disconnect may be called in 2 code flows:
- isert_wait_conn: disconnect initiated be the target
- disconnected_handler: disconnect invoked by the initiator
In case isert_conn->disconnect is true then rdma_disconnect
was called in disconnected handler, no need to call it again
from isert_wait_conn.
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'net/tipc/net.c')
0 files changed, 0 insertions, 0 deletions