commit | 0fc4ea701fcf5bc51ace4e288af5be741465f776 | [log] [tgz] |
---|---|---|
author | Sagi Grimberg <sagig@mellanox.com> | Wed Jul 02 16:19:25 2014 +0300 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Mon Sep 15 14:02:16 2014 -0700 |
tree | e454f3cba421a073cf64ae3a60a4b28b6a50546a | |
parent | c2f88b17a1d97ca4ecd96cc22333a7a4f1407d39 [diff] |
Target/iser: Don't put isert_conn inside disconnected handler disconnected_handler is invoked on several CM events (such as DISCONNECTED, DEVICE_REMOVAL, TIMEWAIT_EXIT...). Since multiple events can occur while before isert_free_conn is invoked, we might put all isert_conn references and free the connection too early. Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Cc: <stable@vger.kernel.org> # v3.10+ Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>