[3.16.y-ckt stable] Patch "xen-netback: fixing the propagation of the transmit shaper timeout" has been added to staging queue

Luis Henriques luis.henriques at canonical.com
Mon Jan 19 13:37:37 UTC 2015


This is a note to let you know that I have just added a patch titled

    xen-netback: fixing the propagation of the transmit shaper timeout

to the linux-3.16.y-queue branch of the 3.16.y-ckt extended stable tree 
which can be found at:

 http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.16.y-queue

This patch is scheduled to be released in version 3.16.7-ckt5.

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.16.y-ckt tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable

Thanks.
-Luis

------

>From 58db20fc52fc0f6ba921344ed9cd898317856eb1 Mon Sep 17 00:00:00 2001
From: "Palik, Imre" <imrep at amazon.de>
Date: Tue, 6 Jan 2015 16:44:44 +0100
Subject: xen-netback: fixing the propagation of the transmit shaper timeout

commit 07ff890daeda31cf23173865edf50bcb03e100c3 upstream.

Since e9ce7cb6b107 ("xen-netback: Factor queue-specific data into queue struct"),
the transimt shaper timeout is always set to 0.  The value the user sets via
xenbus is never propagated to the transmit shaper.

This patch fixes the issue.

Cc: Anthony Liguori <aliguori at amazon.com>
Signed-off-by: Imre Palik <imrep at amazon.de>
Acked-by: Ian Campbell <ian.campbell at citrix.com>
Signed-off-by: David S. Miller <davem at davemloft.net>
Signed-off-by: Luis Henriques <luis.henriques at canonical.com>
---
 drivers/net/xen-netback/xenbus.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/xen-netback/xenbus.c b/drivers/net/xen-netback/xenbus.c
index 3d85acd84bad..9378a17c9553 100644
--- a/drivers/net/xen-netback/xenbus.c
+++ b/drivers/net/xen-netback/xenbus.c
@@ -549,6 +549,7 @@ static void connect(struct backend_info *be)
 		}

 		queue->remaining_credit = credit_bytes;
+		queue->credit_usec = credit_usec;

 		err = connect_rings(be, queue);
 		if (err) {
--
2.1.4





More information about the kernel-team mailing list