Re: [RFC PATCH 02/12] net: sched: free per cpu bstats
From: John Fastabend <john.fastabend@gmail.com>
Date: 2016-01-04 18:08:21
From: John Fastabend <john.fastabend@gmail.com>
Date: 2016-01-04 18:08:21
On 16-01-04 09:32 AM, Eric Dumazet wrote:
On Mon, 2016-01-04 at 16:21 +0100, Daniel Borkmann wrote:quoted
On 12/30/2015 06:51 PM, John Fastabend wrote:quoted
When a qdisc is using per cpu stats only the bstats are being freed. This also free's the qstats. Signed-off-by: John Fastabend <redacted>Seems like a bug fix, current code seems to free this only in error path in qdisc_create(). Should this go to -net as an individual one?Absolutely, this is needed in -net as ingress qdisc uses this stuff already.
Yep, I'll push a patch for -net today.