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 1E20AC433EF for ; Mon, 16 May 2022 11:04:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234991AbiEPLED (ORCPT ); Mon, 16 May 2022 07:04:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236439AbiEPLEB (ORCPT ); Mon, 16 May 2022 07:04:01 -0400 Received: from mail.netfilter.org (mail.netfilter.org [217.70.188.207]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 63FAD2C11D; Mon, 16 May 2022 04:04:01 -0700 (PDT) Date: Mon, 16 May 2022 13:03:58 +0200 From: Pablo Neira Ayuso To: Martin Willi Cc: Florian Westphal , David Ahern , netfilter-devel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH nf v2 2/2] netfilter: Use l3mdev flow key when re-routing mangled packets Message-ID: References: <20220419134701.153090-1-martin@strongswan.org> <20220419134701.153090-3-martin@strongswan.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220419134701.153090-3-martin@strongswan.org> Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org On Tue, Apr 19, 2022 at 03:47:01PM +0200, Martin Willi wrote: > Commit 40867d74c374 ("net: Add l3mdev index to flow struct and avoid oif > reset for port devices") introduces a flow key specific for layer 3 > domains, such as a VRF master device. This allows for explicit VRF domain > selection instead of abusing the oif flow key. > > Update ip[6]_route_me_harder() to make use of that new key when re-routing > mangled packets within VRFs instead of setting the flow oif, making it > consistent with other users. Applied to nf-next