Received: by 10.213.65.68 with SMTP id h4csp3052602imn; Mon, 2 Apr 2018 20:28:51 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/+DH2JkFCfcRw17ojyk7ULKdZOCA7G5I1/OGwlSlpXHv3umynHk8qx7JCC6cuHHBnT2+Rm X-Received: by 10.101.75.202 with SMTP id p10mr7964025pgr.339.1522726131176; Mon, 02 Apr 2018 20:28:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522726131; cv=none; d=google.com; s=arc-20160816; b=DpsFBnEwZ/QHVxAjRJH4WmL9woVcyqm7yUQcf9AE9Rc7AUoxAi2v6gC6tdFr/xDdoq KhsWwPWK5+cYvjRT6NJskaTskUS7Y4hJuVJtr25qFZabpuhSGut4ZJiG2ClY4WMHD8m2 ifTw8EzyhVnTsiTpPLIwhWNhxzxxI2nuux86dM6pKJaiHGa3tigiLFUa1aK9nOaIHyJl KH1uylYZZLeziXRJ+tcxN+5clbpHUUXXX6EOovkShretOzbXIccTiTVowZl1lOfIYaCX NwAHaHUNdfi6CAMFdsfRnXPbLh+ffUciC10rdShznJvdHvA77HI8CCB6l58MdmD1v6U+ Yz6w== 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=uqBHHQFPGMeTZjNgc/a/El0h3YwCgZfefL5bjhViGxU=; b=QlLh7QxuprLsFYpv3j5oOZYLJ5Nt/QA5NlrpkVPPyUQ17wmYFgfK70etR1Ldcg2o8h BE43rJE+K3Jehxq7++QYvFTbB5BrRJh4m5jiDzo8GUmyccvCABkxBBJa6K/7kqRk9mXG jXL8rTNGOTLJ2Wzjv7Vs8iRBIj5S4jP/Z3XEPDff5VvVLpasL1vEuMhb2tV/Y08KF/Bg lVs9volPwcrKjl22/Y6ZtM52DMCrL+4SUa7UtP4unBHB0k97N2xYNNe5GhHQYRa7yxO1 SO7Xn3qUrLCdZ+Ypp8STMheUg3N5MqGljM3s4RQQ8s9B5Yk3SpvUVN51alUYGVfSaV/0 hRvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=GZLrNDgK; 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 m137si1254986pga.382.2018.04.02.20.28.34; Mon, 02 Apr 2018 20:28:51 -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=GZLrNDgK; 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 S1752483AbeDCD1U (ORCPT + 99 others); Mon, 2 Apr 2018 23:27:20 -0400 Received: from mail-dm3nam03on0104.outbound.protection.outlook.com ([104.47.41.104]:32160 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750905AbeDCD1S (ORCPT ); Mon, 2 Apr 2018 23:27:18 -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=uqBHHQFPGMeTZjNgc/a/El0h3YwCgZfefL5bjhViGxU=; b=GZLrNDgKh1IVIBGI+G7aj6U26K4ICr4Y5RxbI2xVYrfu/enHzlUrvddM3rBSH8zDmkgMlagqiZ8iAd9fff8Eeop65DnTCBPivWXDMRJLURnDW13r7BuCZY6xCk/KtEgDeAqsioX+xOA9cjDXdCycHgo5ezHFrxjb6bwfYUAgOXY= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.675.1; Tue, 3 Apr 2018 03:27:16 +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.0675.003; Tue, 3 Apr 2018 03:27:16 +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//FsBdCFtkuOTa0rN5EV2KPX2kUAgBad2QA= Date: Tue, 3 Apr 2018 03:27:16 +0000 Message-ID: <20180403032714.GJ7561@sasha-vm> 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;DM5PR2101MB1032;7:uhP9VeFAgOmXj6dFYhI3J7KEZdf03DEJ7dFmSLYnvUArADV5k9MuwZ7+aUeZwC3sBcGOffd3dJYvWx0FscvBK36YbUewR3C9yz8mbhsoCE9QCrQlN3Igm5ltgAUFuYJHZME/I0+qqOPoct6oEXfnTeMr8se1auLjOX30OBpoTmWDG42oaLR+VG7XCrmaAHo7080tNubVjOpThnXL1MazahCKFiRUNZGPOzjjmfqvEyQgw/z7Z0gS260ReL47KGcv;20:R/RG8iaWIzIDEAJhOuGfQLgqhkomxLvrIljIAu0xc9tKc9BD/WoA89JKEqCqOH4sS8z7fZZTJqCzvQj2pbnXA+h1MAxDUBgFmesEdfpJD+/ngGNFp2V4y43MJ45fhHxTu/W5qIG9ZubG3XGr6pa7/GOEt8WEJ6E/qHL1wmlbtjI= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 7fcd3c43-e706-4d8d-c878-08d59912cce9 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4604075)(3008032)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:DM5PR2101MB1032; x-ms-traffictypediagnostic: DM5PR2101MB1032: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; 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)(8121501046)(5005006)(93006095)(93001095)(3231221)(944501327)(52105095)(3002001)(10201501046)(6055026)(61426038)(61427038)(6041310)(20161123562045)(20161123564045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:DM5PR2101MB1032;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB1032; x-forefront-prvs: 0631F0BC3D x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(7916004)(346002)(376002)(366004)(39380400002)(39860400002)(396003)(199004)(189003)(81166006)(8676002)(81156014)(3660700001)(2900100001)(97736004)(8936002)(6916009)(305945005)(105586002)(33656002)(5250100002)(7736002)(1076002)(3280700002)(2906002)(99286004)(54906003)(86612001)(6116002)(3846002)(186003)(33716001)(68736007)(26005)(10090500001)(86362001)(76176011)(33896004)(102836004)(6506007)(25786009)(66066001)(478600001)(10290500003)(14454004)(106356001)(72206003)(316002)(5660300001)(9686003)(6512007)(6436002)(22452003)(53936002)(229853002)(4326008)(486005)(6246003)(6486002)(476003)(486005)(446003)(11346002)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB1032;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) x-microsoft-antispam-message-info: DNYnu7KC/x10Re/lvNws8HdRI6bVdfauDjEqDYJ7lIzYJsMUQFbwvj7d5hkBiaX1m/RZPe6DqNuj6uhcurtckkuu5mItxRPi3Ecqq+ZVoqEKMFM5/oyAOeMn9RH+eM9XnftjLu3BiO2182OPDy4u53sEV5pwBEkPYsas/hLkF4uuIGUSj1VOaXBncYwTw5ffcdlh5FWQlWMbIOdmnRceVtj91pj4L0erM7+lHbDU6O9tWOnzMzMooLPCk9TmBmrFnUkpLJwQSZ/PXnRibmCbHE5TP/l2BrDscXzsH9+GfXLyhC7828sWVTc+fXLjBkbp4L6rewr8L0xFEob1eSaUO5LHof5ZoebgIJ4nGbrILBrkpgZ/Yqx/ia1UaWEgCEKzIR3+sNjXZyt/jdYX1N1kPnaP7I/iV+HvsZZzH5ydaVA= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: <66319DE7808FD7409CBD5B3427E64CE5@namprd21.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7fcd3c43-e706-4d8d-c878-08d59912cce9 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Apr 2018 03:27:16.7386 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB1032 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"). > >Thanks Now removed, thanks!=