[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161031.153400.1962899191006711223.davem@davemloft.net>
Date: Mon, 31 Oct 2016 15:34:00 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: Yuval.Mintz@...ium.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net] qede: Fix statistics' strings for Tx/Rx queues
From: Yuval Mintz <Yuval.Mintz@...ium.com>
Date: Sun, 30 Oct 2016 10:25:42 +0200
> 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@...ium.com>
Applied, thanks.
Powered by blists - more mailing lists