From: Palik, Imre Date: Tue, 6 Jan 2015 15:44:44 +0000 (+0100) Subject: xen-netback: fixing the propagation of the transmit shaper timeout X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=07ff890daeda31cf23173865edf50bcb03e100c3;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git xen-netback: fixing the propagation of the transmit shaper timeout 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 Signed-off-by: Imre Palik Acked-by: Ian Campbell Signed-off-by: David S. Miller --- diff --git a/drivers/net/xen-netback/xenbus.c b/drivers/net/xen-netback/xenbus.c index efbaf2ae1999..794204e34fba 100644 --- a/drivers/net/xen-netback/xenbus.c +++ b/drivers/net/xen-netback/xenbus.c @@ -737,6 +737,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) {