From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cong Wang Subject: Re: [PATCH net-next v3 1/6] net_sched: remove get_stats from tc_action_ops Date: Fri, 13 Dec 2013 13:50:17 -0800 Message-ID: References: <1386913673-8210-1-git-send-email-xiyou.wangcong@gmail.com> <1386913673-8210-2-git-send-email-xiyou.wangcong@gmail.com> <52AB7BC6.9050503@mojatatu.com> <52AB7ECB.30702@mojatatu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: David Laight , Linux Kernel Network Developers , "David S. Miller" To: Jamal Hadi Salim Return-path: Received: from mail-oa0-f51.google.com ([209.85.219.51]:54887 "EHLO mail-oa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750958Ab3LMVuS (ORCPT ); Fri, 13 Dec 2013 16:50:18 -0500 Received: by mail-oa0-f51.google.com with SMTP id i7so2762665oag.10 for ; Fri, 13 Dec 2013 13:50:18 -0800 (PST) In-Reply-To: <52AB7ECB.30702@mojatatu.com> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, Dec 13, 2013 at 1:40 PM, Jamal Hadi Salim wrote: > On 12/13/13 16:34, Cong Wang wrote: > >> But no in-tree module implements it.... > > > So? It is an API that is in there and expected by user space. I must miss something here... Before this patch: if (a->ops != NULL && a->ops->get_stats != NULL) if (a->ops->get_stats(skb, a) < 0) goto errout; since ->get_stats is always NULL, after we remove it, no behavior is changed. So, how could this affect user-space?