summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorSagi Grimberg <sagig@dev.mellanox.co.il>2014-10-28 13:45:03 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-12-06 15:55:38 -0800
commitc0cf55145129008c8ce068d5c17ebaa79885a7fb (patch)
tree48d6cb4d8beb1a1d25933d5dd450888530492c12 /net/lapb/lapb_subr.c
parent20a1d763e503d4b54dfebb0d6977d867dadb2103 (diff)
iser-target: Handle DEVICE_REMOVAL event on network portal listener correctly
commit 3b726ae2de02a406cc91903f80132daee37b6f1b upstream. 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> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions