Received: by 10.213.65.68 with SMTP id h4csp123631imn; Wed, 21 Mar 2018 14:03:53 -0700 (PDT) X-Google-Smtp-Source: AG47ELuuDRf3LJD+A0WI3bwTbxVNpUfS8q18+WQR9g0MnWC9rOKB0UGFrFn95bLrZTbrtmf5w1cF X-Received: by 2002:a17:902:6785:: with SMTP id g5-v6mr19604378plk.369.1521666233229; Wed, 21 Mar 2018 14:03:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521666233; cv=none; d=google.com; s=arc-20160816; b=txu0LpYV9xoRPD/oTxRgKdywA51QE1Vy2VRkj9IRe/nMphTRHyDZGA827gv4TfZxo+ JQLTbM5deCrJK+FSEO8x4QZ3RCCboQLSOYyyXOaY6UxCQnlMXgNsJX9bYCfSCL6Y+sU5 QxSEr1P3tgagp+NHHUrEnd1z2ikv8mF1Fi2DtXrLRv/Un95laVWDYilXCRTcXe/j1QxQ LyiBRZ2ABp658sS+OMFkQGiLgM/DmBpC8XbWgEnM5bn67xru49U+Dwh8zJI10Z7lZiM2 CVrzKNhWJ97lhotPnTDbP4XBNsVH9M7kiYkfi8XMQvRMOPNNyg7OAZ1IUYjiqWvO/WsL BWyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=K6kHNwDk13Z1lRYbV9iSJtW3M90L0QyP7zmnJ2mJVV4=; b=mLTAHSlKiaGfxRqyp8XJpNHWkS9UbnLb9tdTSJZEXFMmLXazXq76gESlZMJT/9dvpJ 1+V9B2KhkGdml264n3iYIPWGpDENorpmWNmEPdFQZCCzieVhMZsLKvJlgq6m+BF4WZ6g YvVx+aBanHoWtUjiU61rFi0SJsUlGsV2nvwKCHI4Pz57QTJkb2HHW/xjDAn8I3GdPdnA c4kiY1PC0tbRs0lHFZEUhD4OWXCXOabPr01cxuvrREWci0VkN7/s+h6Me72btsvIPKiY 5UCicUFkyhiHuisss9xHeU7Nu7WxDbD+/Wb2dzxTYCiEpVAXv64wniiPQQAyp4TSyIaM oWvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=fPrc45E7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c7si3270108pgq.734.2018.03.21.14.03.37; Wed, 21 Mar 2018 14:03:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=fPrc45E7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753530AbeCUVCP (ORCPT + 99 others); Wed, 21 Mar 2018 17:02:15 -0400 Received: from mail-by2nam01on0136.outbound.protection.outlook.com ([104.47.34.136]:51760 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753489AbeCUVCI (ORCPT ); Wed, 21 Mar 2018 17:02:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=K6kHNwDk13Z1lRYbV9iSJtW3M90L0QyP7zmnJ2mJVV4=; b=fPrc45E7je8ui2aZ40iWH4CpwTBKJ5yzZb76PVcWIlK2qN4rfxifG5gMH65gFKLm5r3Mh8rLIwEZxUfhYbIvxzu4dA8fqyR4gFNouvT42WC2od9JYIxrssD4x07C9faE+1Of7Iux5XxyOUY4+EBCBbqGO5SfZxMBlEK23et1mPc= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB1048.namprd21.prod.outlook.com (52.132.128.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.631.0; Wed, 21 Mar 2018 21:02:06 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::3d9b:79e7:94eb:5d62]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::3d9b:79e7:94eb:5d62%5]) with mapi id 15.20.0631.004; Wed, 21 Mar 2018 21:02:06 +0000 From: Sasha Levin To: Ido Schimmel CC: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , "David S . Miller" Subject: Re: [PATCH AUTOSEL for 4.15 058/124] ipv6: Set nexthop flags during route creation Thread-Topic: [PATCH AUTOSEL for 4.15 058/124] ipv6: Set nexthop flags during route creation Thread-Index: AQHTv5mo//FsBdCFtkuOTa0rN5EV2KPX2kUAgANWQQA= Date: Wed, 21 Mar 2018 21:02:06 +0000 Message-ID: <20180321210204.tyiexrbcxxxuc6ul@sasha-lappy> References: <20180319154645.11350-1-alexander.levin@microsoft.com> <20180319154645.11350-58-alexander.levin@microsoft.com> <20180319180434.GA13336@splinter> In-Reply-To: <20180319180434.GA13336@splinter> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR2101MB1048;7:2ZOFburwxFX9vNEtdKFJrSkxCVcwGEUDkhlvof9gK6LMVpgu0xfVG9NJqap8r/+cM7r6stMv3e7POF1/noiWugDQKsl/l5PAET9or0qNmMXNWcRw9Epv9e7FzHWLUt2eNRMqT9Xh8HvnI+07H2YKQ08FHN3lNRdvZZsf3oYK0BeMIuzlaEbDc1rcRXhddQU6FGgHs3TTtphHsZAc7rxIvJAJi2qTZIDmLmnxhpZNvZd18xqFkcKXLxcf6YBVKZOJ;20:SVfwsU3+lJqyBdmqzKP3peDSUpbEjrbziBgCxkOYFFchWniHxSgMpUO/lWZ+whe5BdPemFEL+Nzejf/AdbzeXY7LdkztaOxkIEfuRNbgqpPmqWO0xiDjr6ygHSEl7qXWKIwzsKKAwe3v0hh4MZ8IcuXb3nwuvGZMvjqfMJqsuRc= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: d1094836-c665-42e6-503d-08d58f6f010d x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:DM5PR2101MB1048; x-ms-traffictypediagnostic: DM5PR2101MB1048: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(85827821059158); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(3231221)(944501316)(52105095)(6055026)(61426038)(61427038)(6041310)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011);SRVR:DM5PR2101MB1048;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB1048; x-forefront-prvs: 0618E4E7E1 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(7916004)(376002)(366004)(346002)(39860400002)(396003)(39380400002)(199004)(189003)(14454004)(68736007)(10290500003)(9686003)(6512007)(6246003)(53936002)(54906003)(3660700001)(99286004)(33896004)(76176011)(6436002)(6486002)(2906002)(2900100001)(1076002)(446003)(25786009)(3846002)(478600001)(6116002)(3280700002)(2950100002)(6916009)(4326008)(66066001)(97736004)(105586002)(10090500001)(72206003)(86612001)(22452003)(7736002)(8936002)(26005)(186003)(305945005)(229853002)(5250100002)(316002)(8676002)(106356001)(6346003)(5660300001)(81166006)(86362001)(33716001)(81156014)(102836004)(6506007)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB1048;H:DM5PR2101MB1032.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: s3Om6286Wz5ndhSWQ96htNGTLIbq8ABKdOXhA0DUH+oh8Xv2Qjx5IWqNPTU7/JabgdbtwWtqzwwR/RXie19WlSIk+/IbhNHhqdqxQxY3gWsc6WVLkz0B/m9i3s7I6kABMzXEOOUKQYAambZAPWiXdTeo0v33JApOmNTN16CGg0INXMZbSxUfN8zSHvOBGP3CrzsKX6vnaENEr9+ea+orcUC8MC+IJtxU/tJFwjM5VCH97rY4q6KMEzLd6hmLrcpPQybQWnSMvO1sxmlTFdJtkDGWJdrsAvmT2WRYWFwEK3F4LEPYj9utXrFOGx9YNTlU6x+Q026eH/cUQ3um4AzoPw== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: d1094836-c665-42e6-503d-08d58f6f010d X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Mar 2018 21:02:06.2953 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB1048 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 19, 2018 at 08:04:34PM +0200, Ido Schimmel wrote: >On Mon, Mar 19, 2018 at 03:48:00PM +0000, Sasha Levin wrote: >> From: Ido Schimmel >> >> [ Upstream commit 5609b80a37f69f796548339e675256188b29c17d ] >> >> It is valid to install routes with a nexthop device that does not have a >> carrier, so we need to make sure they're marked accordingly. >> >> As explained in the previous patch, host and anycast routes are never >> marked with the 'linkdown' flag. >> >> Note that reject routes are unaffected, as these use the loopback device >> which always has a carrier. >> >> Signed-off-by: Ido Schimmel >> Acked-by: David Ahern >> Signed-off-by: David S. Miller >> Signed-off-by: Sasha Levin > >Hi Sasha, > >It doesn't really make sense to take this patch to 4.15 (and 4.14 from >your other mail). The flag is never used there. > >In these kernels the flag is dumped to user space based on a carrier >check. See commit 44c9f2f206f8 ("ipv6: Check nexthop flags in route dump >instead of carrier"). > >Similarly, during route lookup the carrier is checked and not the flag. >See commit 14c5206c2d02 ("ipv6: Check nexthop flags during route lookup >instead of carrier"). Removed from both trees, thanks! --=20 Thanks, Sasha=