From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44B5BC433F5 for ; Tue, 1 Mar 2022 15:48:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235908AbiCAPt3 (ORCPT ); Tue, 1 Mar 2022 10:49:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233830AbiCAPt2 (ORCPT ); Tue, 1 Mar 2022 10:49:28 -0500 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DA6B252B1D for ; Tue, 1 Mar 2022 07:48:46 -0800 (PST) Received: from [192.168.1.214] (dynamic-089-012-174-087.89.12.pool.telefonica.de [89.12.174.87]) by linux.microsoft.com (Postfix) with ESMTPSA id 9678120B7178; Tue, 1 Mar 2022 07:48:45 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 9678120B7178 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1646149726; bh=SaC0aRqtMlc7spY1Zi3FEHO1evOLJ7yuSFycKLfJ5tw=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=eSG6fK58QGCmPWvEOlzaJE92MmYHB7tHdbjJb0Q6kZ0OgaqPLA5ZrXTs1MtsepOWz W+CaJuhXkHrKRp6MhLFOZBsqnaDhSkFPJqDYL5ELjs2B27XtrfOJkfdmbS3Krj6t87 H2pSYkQz1OhwedzU54EWhK6BzM3aqj7uik3BKXbg= Subject: Re: [PATCH 1/2] Revert "xfrm: interface with if_id 0 should return error" To: Paul Chaignon , Eyal Birger Cc: netdev@vger.kernel.org, Steffen Klassert References: <20220301131512.1303-1-kailueke@linux.microsoft.com> <20220301150930.GA56710@Mem> From: =?UTF-8?B?S2FpIEzDvGtl?= Message-ID: Date: Tue, 1 Mar 2022 16:48:38 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20220301150930.GA56710@Mem> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org > I agree with Eyal here. As far as Cilium is concerned, this is not > causing any regression. Only the second commit, 68ac0f3810e7 ("xfrm: > state and policy should fail if XFRMA_IF_ID 0") causes issues in a > previously-working setup in Cilium. We don't use xfrm interfaces. > I see this as a very generic question of changing userspace behavior or not, regardless if we know how many users are affected, and from what I know there are similar cases in the kernel where the response was that breaking userspace is a no go - even if the intention was to be helpful by having early errors. Greets, Kai