From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [RFC PATCH 02/12] net: sched: free per cpu bstats Date: Mon, 04 Jan 2016 09:32:38 -0800 Message-ID: <1451928758.8255.76.camel@edumazet-glaptop2.roam.corp.google.com> References: <20151230175000.26257.41532.stgit@john-Precision-Tower-5810> <20151230175130.26257.98195.stgit@john-Precision-Tower-5810> <568A8DF5.7030505@iogearbox.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: John Fastabend , jhs@mojatatu.com, aduyck@mirantis.com, brouer@redhat.com, davem@davemloft.net, john.r.fastabend@intel.com, netdev@vger.kernel.org To: Daniel Borkmann Return-path: Received: from mail-pf0-f176.google.com ([209.85.192.176]:35026 "EHLO mail-pf0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752261AbcADRck (ORCPT ); Mon, 4 Jan 2016 12:32:40 -0500 Received: by mail-pf0-f176.google.com with SMTP id 78so207224206pfw.2 for ; Mon, 04 Jan 2016 09:32:40 -0800 (PST) In-Reply-To: <568A8DF5.7030505@iogearbox.net> Sender: netdev-owner@vger.kernel.org List-ID: 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 > > 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.