aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netfront.c
diff options
context:
space:
mode:
authorMintz, Yuval <Yuval.Mintz@cavium.com>2016-10-30 10:25:42 +0200
committerDavid S. Miller <davem@davemloft.net>2016-10-31 15:33:33 -0400
commitcbbf049a7c346180cc61ae0a9245c5d749d20a12 (patch)
treeffa8201e4c4a2303ef28ca329327b2f60f141c63 /drivers/net/xen-netfront.c
parentnet: mangle zero checksum in skb_checksum_help() (diff)
downloadlinux-rng-cbbf049a7c346180cc61ae0a9245c5d749d20a12.tar.xz
linux-rng-cbbf049a7c346180cc61ae0a9245c5d749d20a12.zip
qede: Fix statistics' strings for Tx/Rx queues
When an interface is configured to use Tx/Rx-only queues, the length of the statistics would be shortened to accomodate only the statistics required per-each queue, and the values would be provided accordingly. However, the strings provided would still contain both Tx and Rx strings for each one of the queues [regardless of its configuration], which might lead to out-of-bound access when filling the buffers as well as incorrect statistics presented. Fixes: 9a4d7e86acf3 ("qede: Add support for Tx/Rx-only queues.") Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions