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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 369B6C25B47 for ; Wed, 25 Oct 2023 09:47:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234938AbjJYJr3 (ORCPT ); Wed, 25 Oct 2023 05:47:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234971AbjJYJrP (ORCPT ); Wed, 25 Oct 2023 05:47:15 -0400 Received: from ganesha.gnumonks.org (ganesha.gnumonks.org [IPv6:2001:780:45:1d:225:90ff:fe52:c662]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F5A2D7D for ; Wed, 25 Oct 2023 02:46:50 -0700 (PDT) Received: from [78.30.35.151] (port=50132 helo=gnumonks.org) by ganesha.gnumonks.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qvaTO-00Ci7d-Be; Wed, 25 Oct 2023 11:46:48 +0200 Date: Wed, 25 Oct 2023 11:46:45 +0200 From: Pablo Neira Ayuso To: Florian Westphal Cc: netfilter-devel@vger.kernel.org Subject: Re: [PATCH nf-next] br_netfilter: use single forward hook for ip and arp Message-ID: References: <20231020111429.29083-1-fw@strlen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20231020111429.29083-1-fw@strlen.de> Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org On Fri, Oct 20, 2023 at 01:14:25PM +0200, Florian Westphal wrote: > br_netfilter registers two forward hooks, one for ip and one for arp. > > Just use a common function for both and then call the arp/ip helper > as needed. Applied, thanks