From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D12CC5ACD9 for ; Wed, 18 Mar 2020 10:02:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DE35D20768 for ; Wed, 18 Mar 2020 10:02:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727664AbgCRKCe (ORCPT ); Wed, 18 Mar 2020 06:02:34 -0400 Received: from Chamillionaire.breakpoint.cc ([193.142.43.52]:58228 "EHLO Chamillionaire.breakpoint.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727281AbgCRKCd (ORCPT ); Wed, 18 Mar 2020 06:02:33 -0400 Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1jEVWt-0003dS-V8; Wed, 18 Mar 2020 11:02:28 +0100 Date: Wed, 18 Mar 2020 11:02:27 +0100 From: Florian Westphal To: Daniel Borkmann Cc: davem@davemloft.net, netdev@vger.kernel.org, Pablo Neira Ayuso , Alexei Starovoitov Subject: Re: [PATCH net-next] netfilter: revert introduction of egress hook Message-ID: <20200318100227.GE979@breakpoint.cc> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Daniel Borkmann wrote: > This reverts the following commits: > > 8537f78647c0 ("netfilter: Introduce egress hook") > 5418d3881e1f ("netfilter: Generalize ingress hook") > b030f194aed2 ("netfilter: Rename ingress hook include file") > > From the discussion in [0], the author's main motivation to add a hook > in fast path is for an out of tree kernel module, which is a red flag > to begin with. The author did post patches for nftables, i.e. you can hook up rulesets to this new hook point. > is on future extensions w/o concrete code in the tree yet. Revert as > suggested [1] given the weak justification to add more hooks to critical > fast-path. Do you have an alternative suggestion on how to expose this?