Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3087473rwb; Mon, 15 Aug 2022 17:49:27 -0700 (PDT) X-Google-Smtp-Source: AA6agR4VT0eM7dg6OHy609skpskeWoFTPg7Vy4gCEtQVjtTUYJ67qrIH6G7BgM3KsVzsu215reH3 X-Received: by 2002:a17:907:270d:b0:730:6082:eb62 with SMTP id w13-20020a170907270d00b007306082eb62mr11698177ejk.95.1660610967405; Mon, 15 Aug 2022 17:49:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660610967; cv=none; d=google.com; s=arc-20160816; b=AarSbaL0VmW8tUrOyy6o1bnbv98VFYpmpJfmVuUZEV6sqVd5Yrur5gIaIA0vcyxEzD vhHRCqCzULJ5sFSeIfNZZfTSaIsyBxTMFVahi2TvtGDdj5GgJhSbqU8GBVIgUsLMUJAy kvn91j8BvVbDyWmd35SbuXdBJLit3VIfyHF48BmsXoBE0nYBv+wnJVjFx21W09rWJwGp zMbMDF95OxMgWkvLYv3Bxd7hhxmwwicf7mHBovaX2bUQAjy9GyaRfrAjEQ8sJqvkkK4c 5GoB5JwngKHJlhnUcnOywvDARKaI4BigQssZNN2uDmSOvtOXZ8yTJmEuJlzHOUAQlumT cXQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=6Biag43DaRoJM1R8agaOWqgs3gU0yEaJQTPHwm4PofQ=; b=X4MObQIBMScV29iKN/ngdJeje+PihnCFZZ8cqzheTgnm3TALF79yV/5xHI3txOebD3 MZhefUTVJs/RtB1h9+BBJQnjzhxC6TpcJwycUan2yPgoczKyYvWT5yDgjUluIkxjOCWA OLlOQr+5vpvHk06WXD0TCffeMOsEX2dJnuHGW8ULRd4b2U8qWY9N+FalK81h31zafZ0M IcUHolw5cdfiNwX44A/8YaE5waEVaOt/9MqmcOM0ySCA6iRRuqV/RAx4t6706g3Hm5WO Ri3FDNNbVzEhayLqj98O9J0mYUZ+5TKU6qDd63GSm7WrcXIua3GYtKrq/e6QLy7OkNrx M5iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="YvuxvS/B"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qa42-20020a17090786aa00b00734be0ce0e5si9275744ejc.311.2022.08.15.17.49.02; Mon, 15 Aug 2022 17:49:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="YvuxvS/B"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355958AbiHPABu (ORCPT + 99 others); Mon, 15 Aug 2022 20:01:50 -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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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; }; /* Flags for ip_tunnel_info mode. */ -- 2.35.1