Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp2058397rwb; Fri, 5 Aug 2022 12:25:03 -0700 (PDT) X-Google-Smtp-Source: AA6agR6K+5qrXtqD4y28zkIYho90DJqLwhHAmdxGfYnrTrXkOOh7O1Bqu8OE2NpREFF28Pyohbs+ X-Received: by 2002:a63:ec04:0:b0:41c:1149:4523 with SMTP id j4-20020a63ec04000000b0041c11494523mr6705293pgh.62.1659727502995; Fri, 05 Aug 2022 12:25:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659727502; cv=none; d=google.com; s=arc-20160816; b=gGK4UMT1KPcWoD/HPB5xGbFEsTRZj5tk6tXQKOe/Ek5p5IPdioe1U2LLj9tdjyiwtu s75XVGJ0sw+3YWFrvH5TvuAsZY8Vo4U6puZYxPLV0gechgD7E43AP4GTmvX8BFj5tR45 979YfWWDb7f+awG2EYpv87OuWoC/afBsqQCbuDxzPp6GI/uc7QNXf12oPiYp9TplnXGy tFpaKejKzbetL3mMxkDXD0gRbiTH/Gki4KOQRrqsSt1zaF2OrznPmOxRRWF9X/m6Bqrm WTfSoi1VUWipoO1MAeH7r/la1tM2nSbSw2veCjjmeHxr3JIuwypLywqf056xiMTTpYZd FwKg== 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=azXcdsLu4260lFD/yn5j/LkPyKGtpHhYWRtPGk/Sl68=; b=Z7ISYhLoNpngK7kFAfo16JaIZTESYHeu5uiouSWkFHdofruThjGGgybTNxdlt9wvBb Rx9aRmpHJYJNPZlSZ0MnSRETYV/jeH/hunUOQ6NEPjhOHkYqnmOTRUpfCXYOi5dEuvX+ +KGkRBrvsSdG4/IyspoJkvlgk7FmsFWB7/X/OdPUVed3VrUPkLT1khXXAUnswkyyxN/Z ZHzZxV3OAVzyX1a+TI33J+JLouzBAtUy43QxRdBzU4TW5LHKCkuunlX+kda2Fhalh3Dn DppwSqcwXTmmRTXH1lZx/N+n9UPAG04oJcSR4wcHLKPHB6A82UkKQbbzxgl0cq0uohsz 9GTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@westermo.com header.s=12052020 header.b=XHhpZydd; 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 m18-20020a170902f65200b0016f951e452fsi2272598plg.589.2022.08.05.12.24.48; Fri, 05 Aug 2022 12:25:02 -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=XHhpZydd; 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 S241378AbiHETYE (ORCPT + 99 others); Fri, 5 Aug 2022 15:24:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231262AbiHETYC (ORCPT ); Fri, 5 Aug 2022 15:24:02 -0400 Received: from mx07-0057a101.pphosted.com (mx07-0057a101.pphosted.com [205.220.184.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0457366132; Fri, 5 Aug 2022 12:24:00 -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 275Iw8pF020710; Fri, 5 Aug 2022 21:20:08 +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=azXcdsLu4260lFD/yn5j/LkPyKGtpHhYWRtPGk/Sl68=; b=XHhpZyddNNuQrs27za74WwQGmy52oTf/pq0+JkAkSYjmZ6wRqRHAMXTw4O8dHNh9Wg9i Lubrqb1D8ZW0OeH/h3Gt2e9l9pQfrOACmhx3t3zuC352b8VBsDFB5I//CUQ5VSSoPDG8 wbpFHmkNgx6ww7fa1dqcYQuyOgMmwbWboahgM++pPW2gjZQYv6QGBDi/RoZWqgL1j38/ 0MOYiZ2B5Or7hNyjNuYbKz4ZCap10v8pI31M6j+QgrJ9ZNoXq+AS8GA6G0Wvs2vGpjQT fKBSYwq/RmrxHneZ2CKJdI4D2BBzlZwP3I0pqnY3xxFQ1UZ7kQZEHu6+DX6kiDzJay03 Pw== Received: from mail.beijerelectronics.com ([195.67.87.131]) by mx07-0057a101.pphosted.com (PPS) with ESMTPS id 3hr3tdsntg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 05 Aug 2022 21:20:08 +0200 Received: from Orpheus.nch.westermo.com (172.29.100.2) 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; Fri, 5 Aug 2022 21:20:05 +0200 From: Matthias May To: CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Matthias May Subject: [PATCH v3 net 0/4] Do not use RT_TOS for IPv6 flowlabel Date: Fri, 5 Aug 2022 21:19:02 +0200 Message-ID: <20220805191906.9323-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.100.2] X-ClientProxiedBy: wsevst-s0023.westermo.com (192.168.130.120) To EX01GLOBAL.beijerelectronics.com (10.101.10.25) X-Proofpoint-GUID: P-FzDb9V4CZpy967eeQjyxN_EOsIRN6q X-Proofpoint-ORIG-GUID: P-FzDb9V4CZpy967eeQjyxN_EOsIRN6q 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,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 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 v2 -> v3: - Add the info from the cover to the actual patch message (Guillaume Nault) 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