Re: [RFC PATCH 02/12] net: sched: free per cpu bstats

John Fastabend
2016-01-04T18:08:21Z

On 16-01-04 09:32 AM, Eric Dumazet wrote:
> On Mon, 2016-01-04 at 16:21 +0100, Daniel Borkmann wrote:
>> On 12/30/2015 06:51 PM, John Fastabend wrote:
>>> 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 <john.r.fastabend@intel.com>
>>
>> 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.