Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2938805pxb; Tue, 12 Jan 2021 02:17:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJwXzZVnnT2jV+gx40h0OMu5eBkSL8z7Gzr3mzcfD3xXHa6m/4Hp9SQB6ExJoh/WcyaL2xcd X-Received: by 2002:aa7:c4c2:: with SMTP id p2mr2808052edr.63.1610446647487; Tue, 12 Jan 2021 02:17:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610446647; cv=none; d=google.com; s=arc-20160816; b=GFg3tc4xVH/eVea/4kbd8Vgxq9ykAEnKDN9TBxmRbKuLXu0wFimPV95z+OIYON6hv0 mzSj6JCwmQjtHElpC1OMBtwNIbL18AxB8Upu2eJGrgRjSRkg/mGQYCI6iVvJzQCvoM8R WOOyTrufN9d3lCTWVklZ4jkTqHoHLJ88mw6UODwR8N5SLeeoXdUANshcSW9Hf99F+8CW 3qjE2jgaV1Q/eIkNwF+ihIscc2PRCypc4t/hV6jIieAfmPfx4PdfZv90HVT0cSoRpype DpQfpoYfI8prBMv5agAEaiH4eUIddXluuVZpOXY3CR9y1e1aajvwnU39SCuTjCD+k2G7 WyZA== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=ajkj17D3y207DS1WZ/MYkpm8b5cPsIJRi+oP8sFg1bU=; b=UmFABcRYNVeYaDN14GzrKulXC8/vf1THnkFIOmoSoF8a0Q0bdC0IRtvmyVKsaGbk6I 3VM5l6yzUlTEHlRk00xQ7q4zAB4XKjtKuRsRzRZtR0bH4RFWgTsFyz6xfpZ9gqmSLQAm cLUurZ1GYOdjj2Dg8QKDvaFfSRQNv7/ya7CJo1x8dppC2/rX2fgfhI3szxVMggoX0yfH cshTp1+p0mhl5/+CN7R8Ja2Em1TSw1IslmSbbC3qA2PYe8/VeZWYgC5zQ2tqZLdDvL3B zYWhAnv3ItyvyVmtBHOtZhqmXIeWOcb1trUDKC0T21Hp5Fw8/Lf5y2XesPFOXV3KfngI Ezcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VzNeqHxZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e22si1115223eds.52.2021.01.12.02.17.04; Tue, 12 Jan 2021 02:17:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VzNeqHxZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404754AbhALAZA (ORCPT + 99 others); Mon, 11 Jan 2021 19:25:00 -0500 Received: from mail.kernel.org ([198.145.29.99]:33044 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403981AbhAKXRc (ORCPT ); Mon, 11 Jan 2021 18:17:32 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5A3D222D05; Mon, 11 Jan 2021 23:16:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610407011; bh=zCl2k19hUTGn9D3gpwp8SYfo14eD4Mpe7by1LER+eBA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=VzNeqHxZjL1w916qQHi9lRDDxgXrTfz80MatsZlXaN8lnSdFwOnwhUFviImHYF0MD iUdWpUEj44Y1QZY/sUQjbS/+LGaQnZj+VNPzbYWC1fJz9DAG/pYo2jwAstSlwZjTzQ NvoeRF4CD2b89NGeq5wIkHDuvMlkgHJa62V3uLxkxt4HiR+ikwX9GI3TP+c5HGbpp6 E+rS9wG/y/8oh6Vw88ztzk4JLkK+H6ydhnLEllKjrPEB0NKrtbmAIo2FBWtr0Ay5CB TrqEUBwmnQfIgHH1aH3AZbAK4tPPpMt2wdOvrxbA1JMa2cZWajX87+5o9fb8hlSAHh KVGAeY42iNWPw== Date: Mon, 11 Jan 2021 15:16:50 -0800 From: Jakub Kicinski To: Praveen Chaudhary Cc: davem@davemloft.net, corbet@lwn.net, kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org, netdev@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Zhenggen Xu Subject: Re: [PATCH v0 net-next 1/1] Allow user to set metric on default route learned via Router Advertisement. Message-ID: <20210111151650.41ac7532@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20210111215829.3774-2-pchaudhary@linkedin.com> References: <20210111215829.3774-1-pchaudhary@linkedin.com> <20210111215829.3774-2-pchaudhary@linkedin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 11 Jan 2021 13:58:29 -0800 Praveen Chaudhary wrote: > For IPv4, default route is learned via DHCPv4 and user is allowed to change > metric using config etc/network/interfaces. But for IPv6, default route can > be learned via RA, for which, currently a fixed metric value 1024 is used. > > Ideally, user should be able to configure metric on default route for IPv6 > similar to IPv4. This fix adds sysctl for the same. > > Signed-off-by: Praveen Chaudhary > Signed-off-by: Zhenggen Xu Please put a space between the name and '<'. I haven't looked at the code yet, but I can tell you this patch triggers a few checkpatch --strict warnings, and breaks allmodconfig build.