Commit 9fe63c88 authored by Sagi Grimberg's avatar Sagi Grimberg Committed by Nicholas Bellinger
Browse files

Target/iser: Fix wrong connection requests list addition

Should be adding list_add_tail($new, $head) and not
the other way around.
Signed-off-by: default avatarSagi Grimberg <>
Cc: # 3.10+
Signed-off-by: default avatarNicholas Bellinger <>
parent 448ba904
......@@ -663,7 +663,7 @@ isert_connect_request(struct rdma_cm_id *cma_id, struct rdma_cm_event *event)
goto out_conn_dev;
list_add_tail(&isert_np->np_accept_list, &isert_conn->conn_accept_node);
list_add_tail(&isert_conn->conn_accept_node, &isert_np->np_accept_list);
pr_debug("isert_connect_request() waking up np_accept_wq: %p\n", np);
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