Skip to contentSkip to conversation

Patch "ntb_transport: Pick an unused queue" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Feb 20, 2017

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

ntb_transport: Pick an unused queue

to the 4.9-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:
ntb_transport-pick-an-unused-queue.patch
and it can be found in the queue-4.9 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 8fcd0950c021d7be8493280541332b924b9de962 Mon Sep 17 00:00:00 2001

From: Thomas VanSelus <[email protected]>
Date: Mon, 13 Feb 2017 16:46:26 -0600
Subject: ntb_transport: Pick an unused queue

From: Thomas VanSelus <[email protected]>

commit 8fcd0950c021d7be8493280541332b924b9de962 upstream.

Fix typo causing ntb_transport_create_queue to select the first queue every time, instead of using the next free queue.

Fixes fce8a7bb5 ("PCI-Express Non-Transparent Bridge Support")
---
 drivers/ntb/ntb_transport.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ntb/ntb_transport.c +1 -1
@@ -1799,7 +1799,7 @@ ntb_transport_create_queue(void *data, s
 
 	node = dev_to_node(&ndev->dev);
 
-	free_queue = ffs(nt->qp_bitmap);
+	free_queue = ffs(nt->qp_bitmap_free);
 	if (!free_queue)
 		goto err;
 

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

queue-4.9/ntb_transport-pick-an-unused-queue.patch