Patch "iser-target: Fix identification of login rx descriptor type" has been added to the 4.4-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
iser-target: Fix identification of login rx descriptor type
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
iser-target-fix-identification-of-login-rx-descriptor-type.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
b89a7c25462b164db280abc3b05d4d9d888d40e9Mon Sep 17 00:00:00 2001
From: Jenny Derzhavetz <[email protected]>
Date: Wed, 24 Feb 2016 19:23:58 +0200
Subject: iser-target: Fix identification of login rx descriptor type
From: Jenny Derzhavetz <[email protected]>
commit b89a7c25462b164db280abc3b05d4d9d888d40e9 upstream.
Once connection request is accepted, one rx descriptor is posted to receive login request. This descriptor has rx type, but is outside the main pool of rx descriptors, and thus was mistreated as tx type.
--- drivers/infiniband/ulp/isert/ib_isert.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/infiniband/ulp/isert/ib_isert.c +2 -1
@@ -2035,7 +2035,8 @@ is_isert_tx_desc(struct isert_conn *iservoid *start = isert_conn->rx_descs;int len =ISERT_QP_MAX_RECV_DTOS *sizeof (*isert_conn->rx_descs); -if (wr_id >= start && wr_id < start + len) +if ((wr_id >= start && wr_id < start + len) || + (wr_id == isert_conn->login_req_buf))return false;return true;
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/iser-target-fix-identification-of-login-rx-descriptor-type.patch queue-4.4/iser-target-add-new-state-iser_conn_bound-to-isert_conn.patch queue-4.4/iser-target-rework-connection-termination.patch queue-4.4/iser-target-separate-flows-for-np-listeners-and-connections-cma-events.patch