Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2513205imn; Tue, 2 Aug 2022 05:56:11 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s3+YFd6JGHWZ+KgQr7moKEVZFcxEPXMw3+GkhXia5ucvNpzKyJYbsadSjurJagPiGO7dgQ X-Received: by 2002:a05:6a00:1350:b0:52b:89ce:3326 with SMTP id k16-20020a056a00135000b0052b89ce3326mr20618743pfu.6.1659444971300; Tue, 02 Aug 2022 05:56:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659444971; cv=none; d=google.com; s=arc-20160816; b=L32iblE8QCDiUB472h6qBwc1D3yycsva8/cS863j8SRVysbYspbOmjTqTuwGpDfOM/ +TdcpfaTwadGK9Xrasnp1rwC18Y8N3YIQzzHkMWftIsLRvV10VWE2t0SfJ8Xm5ujEeQx zh945C4ko9TM5pjt6YeueQpsNHWFjASv0mHgAP1ggHT8lPBqMHa+/yddpNC56cNtp5k8 v/L5I7gS3HvIfZTYDAQllcq/3xIZmKFBWXehIeEHPi8fh7tgn7BocETEg7DxvcE/TIqZ bskgeHEhUEkabKADtFl883g71iFLv9mBk8nD3sMVY8P3E8il/wlr1fAfggSQddyg875x nAmQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=yiYWJq9F9uZdrFhn759TuJd0/YpGKCmVgaHHZh39HmI=; b=e0fyF6CockRRLU5bKH6MLOQSoo4xSYHHEr5WTI5+yNlBlt4XGHcTPm8HAXaS3uA9Q3 kLoShfO6ToLp8qevTOIBpgRMsuk6QNIlUY1F1XOt0uiA1teYj96r4i26yKvx7J+M7AXn gf1rNZzt8XpI1uTTpVLnDT7E6hOHKl0xCTqn2XY4zExDSZNDFrblcdPxFdvfK0PlgUJ3 33pYw7iId6WwP/ZuRQUDeYnRT5fZ5sOXpOZkZcQfBQZNnF2YSmVWXGVVeYRwBPeKOo2N WWWNvDrMK3o+b6NvNeF0cCDsX8z/0W9HTHvckpfTG+JAkQ8dyxgr+Ob7VgO5scHIEHql QxLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@westermo.com header.s=12052020 header.b=lUxQfIFy; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=westermo.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id je15-20020a170903264f00b0016ede1297cdsi7875173plb.494.2022.08.02.05.55.56; Tue, 02 Aug 2022 05:56:11 -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=@westermo.com header.s=12052020 header.b=lUxQfIFy; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=westermo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236809AbiHBMM7 (ORCPT + 99 others); Tue, 2 Aug 2022 08:12:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233232AbiHBMMz (ORCPT ); Tue, 2 Aug 2022 08:12:55 -0400 Received: from mx07-0057a101.pphosted.com (mx07-0057a101.pphosted.com [205.220.184.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4C552871E; Tue, 2 Aug 2022 05:12:53 -0700 (PDT) Received: from pps.filterd (m0214197.ppops.net [127.0.0.1]) by mx07-0057a101.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 272Bru3x021377; Tue, 2 Aug 2022 14:09:52 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=westermo.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=12052020; bh=yiYWJq9F9uZdrFhn759TuJd0/YpGKCmVgaHHZh39HmI=; b=lUxQfIFyvIEw4LBm8jkD7UcA9naHvi2jLabSt5SuW3mSYC5J3tJF34XDPmTGNXumBfBR 0Aheb1bo3w+I9L2hz7v+wjNry2VQZmm1x7b+38s1eWN+mkc6cJyFy+xBtoXDURbtMNnz kUZVeKa4RwrdOGY4IFckZLDm13egDoTRxA70fcKfjXKUi42AiAwoFDEJYqrU55ru16/7 9jB8pjlQxptNqICZ+C/Wd4Wvz3wtywSsxLpxK7lwHilSAKWtBwuxeonBUVyGTor+fe+R 7y98idRxdUXD/hyjDcygC8Sh12xInivphCV4cYvLD+m7HJ9KYnJnq90rritd491KjZtv 3g== Received: from mail.beijerelectronics.com ([195.67.87.131]) by mx07-0057a101.pphosted.com (PPS) with ESMTPS id 3hms0c2wbs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 02 Aug 2022 14:09:52 +0200 Received: from Orpheus.westermo.com (172.29.101.13) by EX01GLOBAL.beijerelectronics.com (10.101.10.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.2375.17; Tue, 2 Aug 2022 14:09:50 +0200 From: Matthias May To: CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Matthias May Subject: [PATCH v2 net 0/4] Do not use RT_TOS for IPv6 flowlabel Date: Tue, 2 Aug 2022 14:09:31 +0200 Message-ID: <20220802120935.1363001-1-matthias.may@westermo.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.29.101.13] X-ClientProxiedBy: wsevst-s0023.westermo.com (192.168.130.120) To EX01GLOBAL.beijerelectronics.com (10.101.10.25) X-Proofpoint-GUID: U05Ks4GhqPAyaFLi6vew2kkis5G3PpGO X-Proofpoint-ORIG-GUID: U05Ks4GhqPAyaFLi6vew2kkis5G3PpGO X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS 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 According to Guillaume Nault RT_TOS should never be used for IPv6. Quote: RT_TOS() is an old macro used to interprete IPv4 TOS as described in the obsolete RFC 1349. It's conceptually wrong to use it even in IPv4 code, although, given the current state of the code, most of the existing calls have no consequence. But using RT_TOS() in IPv6 code is always a bug: IPv6 never had a "TOS" field to be interpreted the RFC 1349 way. There's no historical compatibility to worry about. --- v1 -> v2: - Fix spacing of "Fixes" tag. - Add missing CCs Matthias May (4): geneve: do not use RT_TOS for IPv6 flowlabel vxlan: do not use RT_TOS for IPv6 flowlabel mlx5: do not use RT_TOS for IPv6 flowlabel ipv6: do not use RT_TOS for IPv6 flowlabel drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c | 4 ++-- drivers/net/geneve.c | 3 +-- drivers/net/vxlan/vxlan_core.c | 2 +- net/ipv6/ip6_output.c | 3 +-- 4 files changed, 5 insertions(+), 7 deletions(-) -- 2.35.1