Commit 0a66614b authored by Vu Pham's avatar Vu Pham Committed by Nicholas Bellinger

iser-target: check device before dereferencing its variable

This patch changes isert_connect_release() to correctly check for
the existence struct isert_device *device before checking for
Signed-off-by: default avatarVu Pham <>
Signed-off-by: default avatarNicholas Bellinger <>
parent 5cb770bf
......@@ -594,7 +594,7 @@ isert_connect_release(struct isert_conn *isert_conn)
pr_debug("Entering isert_connect_release(): >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>\n");
if (device->use_frwr)
if (device && device->use_frwr)
if (isert_conn->conn_qp) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment