]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iser-target: Fix identification of login rx descriptor type
authorJenny Derzhavetz <jennyf@mellanox.com>
Wed, 24 Feb 2016 17:23:58 +0000 (19:23 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 26 May 2016 22:46:24 +0000 (15:46 -0700)
commitb8e49a57fdefb98478534f822d03d376e0de2c52
tree70088bd2404b6fa37c054c161f2976502b59954d
parent2ec24ffc700ac24eb4c1e405064af2ce15852294
iser-target: Fix identification of login rx descriptor type

Orabug: 23331107

[ Upstream commit b89a7c25462b164db280abc3b05d4d9d888d40e9 ]

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.

Signed-off-by: Jenny Derzhavetz <jennyf@mellanox.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Cc: stable@vger.kernel.org # v3.10+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
(cherry picked from commit 3c6961458165c0ec909d68191bff4de7bdf50549)

Signed-off-by: Dan Duval <dan.duval@oracle.com>
drivers/infiniband/ulp/isert/ib_isert.c