From nobody Mon Sep 29 21:17:51 2025 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 A842BC32762 for ; Tue, 16 Aug 2022 00:04:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355965AbiHPABv (ORCPT ); Mon, 15 Aug 2022 20:01:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356239AbiHOXx7 (ORCPT ); Mon, 15 Aug 2022 19:53:59 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16C11C6B79; Mon, 15 Aug 2022 13:18:50 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id EDE25B81136; Mon, 15 Aug 2022 20:18:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 31743C433C1; Mon, 15 Aug 2022 20:18:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660594717; bh=p9qMmLR6FtC7CGHnxBv/eDTWe2j8qRPvE169bKkMQeY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YvuxvS/BoqSYuxwg/8BkYRKN6/6tdZtbjQQbKFrHv5hVzUC6X7M+fU0Jf7CwV09vE GzZF59aRCe61jA3221QrRoY5ES1j4Z6ynzMV5sbmdbNefe5B6FBB6oQxXUdcXwwl7U D70CAbae99AtRHQ63KW8MD7zp9ak1noT3Ve9XqSI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Paul Chaignon , Daniel Borkmann , Nikolay Aleksandrov , Martin KaFai Lau , Sasha Levin Subject: [PATCH 5.19 0536/1157] ip_tunnels: Add new flow flags field to ip_tunnel_key Date: Mon, 15 Aug 2022 19:58:12 +0200 Message-Id: <20220815180501.103878162@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Paul Chaignon [ Upstream commit 451ef36bd229f8aa329cb2258a859b4c636d08ef ] This commit extends the ip_tunnel_key struct with a new field for the flow flags, to pass them to the route lookups. This new field will be populated and used in subsequent commits. Signed-off-by: Paul Chaignon Signed-off-by: Daniel Borkmann Reviewed-by: Nikolay Aleksandrov Acked-by: Martin KaFai Lau Link: https://lore.kernel.org/bpf/f8bfd4983bd06685a59b1e3ba76ca27496f51ef3.= 1658759380.git.paul@isovalent.com Signed-off-by: Sasha Levin --- include/net/ip_tunnels.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/net/ip_tunnels.h b/include/net/ip_tunnels.h index c24fa934221d..20f60d9da741 100644 --- a/include/net/ip_tunnels.h +++ b/include/net/ip_tunnels.h @@ -54,6 +54,7 @@ struct ip_tunnel_key { __be32 label; /* Flow Label for IPv6 */ __be16 tp_src; __be16 tp_dst; + __u8 flow_flags; }; =20 /* Flags for ip_tunnel_info mode. */ --=20 2.35.1