diff options
author | Sagi Grimberg <sagig@dev.mellanox.co.il> | 2014-10-28 23:45:03 +0300 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-11-03 09:04:48 +0300 |
commit | 3b726ae2de02a406cc91903f80132daee37b6f1b (patch) | |
tree | a340e63312c5b6ea084f92a6199a9b9ed008f8aa /drivers/target | |
parent | f57915cfa5b2b14c1cffa2e83c034f55e3f0e70d (diff) | |
download | linux-3b726ae2de02a406cc91903f80132daee37b6f1b.tar.xz |
iser-target: Handle DEVICE_REMOVAL event on network portal listener correctly
In this case the cm_id->context is the isert_np, and the cm_id->qp
is NULL, so use that to distinct the cases.
Since we don't expect any other events on this cm_id we can
just return -1 for explicit termination of the cm_id by the
cma layer.
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Cc: <stable@vger.kernel.org> # 3.10+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions