]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xen/netback: Properly initialize credit_bytes
authorRoss Lagerwall <ross.lagerwall@citrix.com>
Wed, 27 May 2015 10:44:32 +0000 (11:44 +0100)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 15 Jun 2015 18:26:52 +0000 (14:26 -0400)
commit688497a2e8db77d26d4944cead7d87dc719c3fa1
tree40c1adfa8c28b518562e16ba99b82439b1817c85
parentb991285c5f73cef701c9e81418af4b6eaa322567
xen/netback: Properly initialize credit_bytes

[ Upstream commit ce0e5c522d3924090c20e774359809a7aa08c44c ]

Commit e9ce7cb6b107 ("xen-netback: Factor queue-specific data into queue
struct") introduced a regression when moving queue-specific data into
the queue struct by failing to set the credit_bytes field. This
prevented bandwidth limiting from working. Initialize the field as it
was done before multiqueue support was added.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/net/xen-netback/xenbus.c