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 C6C91C433EF for ; Tue, 1 Mar 2022 16:44:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236124AbiCAQp3 (ORCPT ); Tue, 1 Mar 2022 11:45:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236112AbiCAQp2 (ORCPT ); Tue, 1 Mar 2022 11:45:28 -0500 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F1D5C33E1C for ; Tue, 1 Mar 2022 08:44:47 -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 CCC6820B7178; Tue, 1 Mar 2022 08:44:46 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com CCC6820B7178 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1646153087; bh=e4esMS/5T0oXmhYx4MXerSxLGPrFjTNeLySYb7LEHIQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=mXW38wENoC7+zsTwt7EMXtl7I8NuhiNagD7L4h23BDzCSZKbVW3+cctwsqxO06xrN 8t3cnh1ETOwrplv5M3hq2rGdFkPqeMFfSFwxa6j0VvcUYpVXw+pxEf2dYOIlUWnl+0 llU8Ghl7niVO4CrbUz9L70l6RL0ekl/wMbNjRjpM= Subject: Re: [PATCH 1/2] Revert "xfrm: interface with if_id 0 should return error" To: Steffen Klassert Cc: Paul Chaignon , Eyal Birger , netdev@vger.kernel.org References: <20220301131512.1303-1-kailueke@linux.microsoft.com> <20220301150930.GA56710@Mem> <20220301161001.GV1223722@gauss3.secunet.de> From: Kai Lueke Message-ID: Date: Tue, 1 Mar 2022 17:44:44 +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: <20220301161001.GV1223722@gauss3.secunet.de> 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 Hi, > In general I agree that the userspace ABI has to be stable, but > this never worked. We changed the behaviour from silently broken to > notify userspace about a misconfiguration. > > It is the question what is more annoying for the users. A bug that > we can never fix, or changing a broken behaviour to something that > tells you at least why it is not working. > > In such a case we should gauge what's the better solution. Here > I tend to keep it as it is. alternatives are: docs to ensure the API is used the right way, maybe a dmesg log entry if wrong usage is detected, and filing bugs where the API is used wrong. The chosen way led to having this change being introduced as part of an LTS kernel bugfix update, breaking user's clusters: https://github.com/flatcar-linux/Flatcar/issues/626 Please rethink how you want to handle this, also for not making a precedent here so that this repeats. Regards, Kai (Flatcar Container Linux team)