Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2992921ybb; Mon, 30 Mar 2020 17:54:43 -0700 (PDT) X-Google-Smtp-Source: ADFU+vu80yyCqfNx2Cxy2/KQ0lgKGk/eM823YMXXdL4V586JLyeRnz7CYs6r+fTIwvmfmdaBPGwN X-Received: by 2002:aca:c28b:: with SMTP id s133mr565883oif.36.1585616083041; Mon, 30 Mar 2020 17:54:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585616083; cv=none; d=google.com; s=arc-20160816; b=b7U65VLsDrLUOck6rtqRsKyQkD/iQzMZ80pbCbEwx51Vrxc5UdcIOdWwTVhQN3GjmV B5Q/eaHHD/kFqf6torv2NcwY+Y21XCa5DWg5dv55kevs4L4nMCNISD7lzwgbg+91kDww djMJ6qMbotQzNT1HtHjPcp/35oe4LQbYoohDAs5JAoU/elmhV02twaac/n9s4AF8FGQ3 oY2ngt8xpndnTsjxHbjX3icR/CqELGdnwlyW7gtrbMYillvYtAyN5Osiy7k6RnP8M6kN 2o36RVvQXW7BdlpWfmOELnTfMDAJWE1ijqtRJqVktPcSVjSFFQJO2BOSQHQLmODsw+7u iYmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=mqGyKudCL94HDeJFb4as3bjmET7A/bTMiT7Uurnt7vA=; b=1HaDa5EHElrSttsK78+O55noB4pGtVH4RqDrzFIYVVfOPagrBsl/c2wi1Wg+Gp3KSx 1DT19I+wcsLq6Ic/GBHpAGj2icixEvOKJNAXYkw9DTOXAvlrIIrLGngv1SZOZ3g+aMbi d8h7M2H17r2Fcy+ejPoejWudpoJLCmufuoU4ApoCViiZXysrNr4gKoD9e+XfUehn2e2y Dy2SBJgcFjfdiLPqUEd63+uQ87acK/Pl7o7P4tbdxUt40/bJcm7aw0O2mva1L3nKGlmC F1LggPsFyeZVS+TJAlE/+dK0toy2b+YEOFKvu3LVJeXXjaU3GqivAUV7Tbg82z0pQaij g5fQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a18si6049931otq.286.2020.03.30.17.54.30; Mon, 30 Mar 2020 17:54:43 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729509AbgCaAts (ORCPT + 99 others); Mon, 30 Mar 2020 20:49:48 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:45078 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729019AbgCaAts (ORCPT ); Mon, 30 Mar 2020 20:49:48 -0400 Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id EC27A15D057FD; Mon, 30 Mar 2020 17:49:46 -0700 (PDT) Date: Mon, 30 Mar 2020 17:49:44 -0700 (PDT) Message-Id: <20200330.174944.1829532392145435132.davem@davemloft.net> To: stefano.salsano@uniroma2.it Cc: kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org, dav.lebrun@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, leon@kernel.org, ast@kernel.org, daniel@iogearbox.net, kafai@fb.com, songliubraving@fb.com, yhs@fb.com, andriin@fb.com, bpf@vger.kernel.org, paolo.lungaroni@cnit.it, ahmed.abdelsalam@gssi.it Subject: Re: [net-next] seg6: add support for optional attributes during behavior construction From: David Miller In-Reply-To: <20200331012348.e0b2373bd4a96fecc77686b6@uniroma2.it> References: <20200319183641.29608-1-andrea.mayer@uniroma2.it> <20200325.193016.1654692564933635575.davem@davemloft.net> <20200331012348.e0b2373bd4a96fecc77686b6@uniroma2.it> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 30 Mar 2020 17:49:47 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Stefano Salsano Date: Tue, 31 Mar 2020 01:23:48 +0200 > Of course a new application (e.g. iproute2, pyroute) using a new optional > parameter will not work on older kernels, but simply because the new parameter > is not supported. It will not work even without our proposed patch. > > On the other hand, we think that the solution in the patch is more backward > compatible. Without the patch, if we define new attributes, old applications > (e.g. iproute2 scripts) will not work on newer kernels, while with the optional > attributes approach proposed in the patch they will work with no issues ! Translation: You want to add backwards compatibility problems because otherwise you'll have to add backwards compatibility problems. Sorry, I'm still not convinced. You must find another way to achieve your objective.