From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sowmini Varadhan Subject: Re: [PATCH net-next 0/9] net: Kernel side filtering for route dumps Date: Thu, 11 Oct 2018 15:32:48 -0400 Message-ID: <20181011193248.GD17841@oracle.com> References: <7f4228a7-9a55-1ca5-f36f-62ef30393c90@gmail.com> <199349c3-fd14-1401-86d1-814776372917@gmail.com> <20181011.122847.1015772734131510783.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dsahern@gmail.com, jhs@mojatatu.com, stephen@networkplumber.org, dsahern@kernel.org, netdev@vger.kernel.org To: David Miller Return-path: Received: from userp2130.oracle.com ([156.151.31.86]:47390 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726933AbeJLDBo (ORCPT ); Thu, 11 Oct 2018 23:01:44 -0400 Content-Disposition: inline In-Reply-To: <20181011.122847.1015772734131510783.davem@davemloft.net> Sender: netdev-owner@vger.kernel.org List-ID: Without getting into Ahern's patchset, which he obviously feels quite passionately about.. On (10/11/18 12:28), David Miller wrote: > > Once you've composed the message, the whole point of filtering is lost. it would be nice to apply the filter *before* constructing the skb, but afaict most things in BPF today only operate on sk_buffs. How should we use *BPF on something other than an sk_buff? --Sowmini