From: Sagi Grimberg Date: Tue, 28 Oct 2014 20:45:03 +0000 (-0700) Subject: iser-target: Handle DEVICE_REMOVAL event on network portal listener correctly X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~89^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b726ae2de02a406cc91903f80132daee37b6f1b;p=pandora-kernel.git 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 Cc: # 3.10+ Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed