Skip to contentSkip to conversation

Patch "i40iw: Update hw_iwarp_state" has been added to the 4.7-stable tree

PATCH [email protected] 1 participant 1 message Oct 5, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

i40iw: Update hw_iwarp_state

to the 4.7-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:
i40iw-update-hw_iwarp_state.patch
and it can be found in the queue-4.7 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 866e0f4d73390ee6f5cd68aa92cf74eef3a2b0f2 Mon Sep 17 00:00:00 2001

From: Mustafa Ismail <[email protected]>
Date: Thu, 25 Aug 2016 11:52:47 -0500
Subject: i40iw: Update hw_iwarp_state

From: Mustafa Ismail <[email protected]>

commit 866e0f4d73390ee6f5cd68aa92cf74eef3a2b0f2 upstream.

Update iwqp->hw_iwarp_state to reflect the new state of the CQP modify QP operation. This avoids reissuing a CQP operation to modify a QP to a state that it is already in.

Fixes 4e9042e647ff ("i40iw: add hw and utils files")
---
 drivers/infiniband/hw/i40iw/i40iw_hw.c |    1 +
 1 file changed, 1 insertion(+)
drivers/infiniband/hw/i40iw/i40iw_hw.c +1 -0
@@ -265,6 +265,7 @@ void i40iw_next_iw_state(struct i40iw_qp
 		info.dont_send_fin = false;
 	if (iwqp->sc_qp.term_flags && (state == I40IW_QP_STATE_ERROR))
 		info.reset_tcp_conn = true;
+	iwqp->hw_iwarp_state = state;
 	i40iw_hw_modify_qp(iwqp->iwdev, iwqp, &info, 0);
 }
 

Patches currently in stable-queue which might be from [email protected] are

queue-4.7/i40iw-update-hw_iwarp_state.patch queue-4.7/i40iw-add-missing-check-for-interface-already-open.patch queue-4.7/i40iw-fix-double-free-of-allocated_buffer.patch queue-4.7/i40iw-receive-notification-events-correctly.patch queue-4.7/i40iw-change-mem_resources-pointer-to-a-u8.patch queue-4.7/i40iw-protect-req_resource_num-update.patch queue-4.7/i40iw-add-missing-null-check-for-mpa-private-data.patch queue-4.7/i40iw-avoid-writing-to-freed-memory.patch queue-4.7/i40iw-do-not-set-self-referencing-pointer-to-null-after-kfree.patch