From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ahern Subject: Re: [PATCH iproute2] ip route: get: only set RTM_F_LOOKUP_TABLE flag for IPv4 Date: Mon, 14 Jan 2019 09:29:51 -0700 Message-ID: <24a5672e-a574-dfdc-3482-e86056e22939@gmail.com> References: <20190112205406.25698-1-jakub.kicinski@netronome.com> <20190114080547.452b9915@hermes.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, oss-drivers@netronome.com To: Stephen Hemminger , Jakub Kicinski Return-path: Received: from mail-pf1-f193.google.com ([209.85.210.193]:40608 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726708AbfANQ3y (ORCPT ); Mon, 14 Jan 2019 11:29:54 -0500 Received: by mail-pf1-f193.google.com with SMTP id i12so10571205pfo.7 for ; Mon, 14 Jan 2019 08:29:54 -0800 (PST) In-Reply-To: <20190114080547.452b9915@hermes.lan> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 1/14/19 9:05 AM, Stephen Hemminger wrote: > On Sat, 12 Jan 2019 12:54:06 -0800 > Jakub Kicinski wrote: > >> Kernel ignores the RTM_F_LOOKUP_TABLE flag for all families >> but IPv4. Don't set it, otherwise it may fall foul of >> strict checking policies. >> >> Signed-off-by: Jakub Kicinski > > Doing the right thing is a good idea, but really I can't see > the point of doing this. The kernel will always have to accept > requests from older versions of iproute2 (it can never be stricter) > because of ABI compatibility. So unless you can make a stronger > case for this; no not applying it. > iproute2 is often used as a reference model for features. Making iproute2 correct is the right thing to do regardless of whether what the kernel accepts. Current master branch is the first iproute2 to use the strict checking, and its first release with strict checking should have as many of these little one offs as possible fixed.