Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1700069pxb; Mon, 13 Sep 2021 03:37:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0ZqHzD1GTWfjzRWLtUdJaaFgIn4bAuDXH0OOPOhPpc14aEW5XZo91E4n/hE2Jf4/fGqwZ X-Received: by 2002:a6b:6613:: with SMTP id a19mr8449246ioc.167.1631529471090; Mon, 13 Sep 2021 03:37:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631529471; cv=none; d=google.com; s=arc-20160816; b=PhWqJqUIm2ZSdq8wIEPWqmZFWFHyxVBvdxxRGERVJSBSd0op8TuxNF60WIJzUZ9/fx emWJb8HEGd2VLaVVY5tVKB5vOnnA02glrFAQ/02rW5VXN+m0ga7Ru+XUsIgANl4ktZma AdQbwhU/Uvbu87sIi9av7AhW5/QSH7mRaS9KQRLqjTtz2AA2QuL0+5hiMGO2gopAbB6x 0F1acWhx2kwZE1ZreIaE+0MkdlzzUSg0FoDYfU7Rsa42vLwNYKoPLZFyNrcraKfJJstY tHAJKXwx2NOOBU8OhVytWeq+PydcQllvJUQSX0tN0xUqWRk+j+8EVVbbgP7/rz/PR0dl 886g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/nzkwe3pr/qPUFlHM8thmADhxRTA4dSRMErI6BImOww=; b=cSgq37qxxkT7Rv5v4dWbX3hnmO5j4e0H0XjcL8GdVDobCDrSuZWwNtagk41M4t0jRz Uh5eHEx8rudbETLfkNTZYeCt4p+B/pcwD62mIJPtq5Yffvh3afj3+qMPuKwtMPAaFKW2 qOCbaS0+8xr2M6T8WeHl/PY84Pw/VzemoMnQWkmeqSo3PHiR503EkW91BJBpj36VIm4q meTX2j8pB+T1W0+kFYoL9WHYSplSxczbVXjp4RFouXJC1f66fVXl1+h5OMKkKd9FOyYy DXIre7lwIvhPs+R0CA3KUdexf43x5k8r7YtZlhDTSs/hgvKjqvPS2/UtoPYIQfE9Z+i/ 7dZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VVEXnl1o; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m24si6760404jac.82.2021.09.13.03.37.40; Mon, 13 Sep 2021 03:37:51 -0700 (PDT) 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=@redhat.com header.s=mimecast20190719 header.b=VVEXnl1o; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239030AbhIMKYt (ORCPT + 99 others); Mon, 13 Sep 2021 06:24:49 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:24923 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236170AbhIMKYm (ORCPT ); Mon, 13 Sep 2021 06:24:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1631528607; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/nzkwe3pr/qPUFlHM8thmADhxRTA4dSRMErI6BImOww=; b=VVEXnl1oqKdVUPN0oKFTUoEWyBFy/9mLYTLwfbC49vYFzLfAhUG7QQtb14B24TGbzMWFqr H/av13BlhfF85x+HYo+9p75w+s0BmQ9JEzpNVDNkXV97SML+j3LEzM+iZUZ9TI01kdw4Q6 xOi2PmAiFTgJGlx3236vgr9Dyxkoa70= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-67--V7vw2jsOni4c7SRmCQniw-1; Mon, 13 Sep 2021 06:23:26 -0400 X-MC-Unique: -V7vw2jsOni4c7SRmCQniw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A3D07835DE9; Mon, 13 Sep 2021 10:23:23 +0000 (UTC) Received: from asgard.redhat.com (unknown [10.36.110.5]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 23C4377F35; Mon, 13 Sep 2021 10:23:18 +0000 (UTC) Date: Mon, 13 Sep 2021 12:23:16 +0200 From: Eugene Syromiatnikov To: Ondrej Mosnacek Cc: Steffen Klassert , Herbert Xu , "David S. Miller" , Antony Antony , Christian Langrock , Nicolas Dichtel , SElinux list , Paul Moore , Stephen Smalley , Eric Paris , network dev , Linux kernel mailing list , "Dmitry V. Levin" , Linux API Subject: Re: [PATCH v2] include/uapi/linux/xfrm.h: Fix XFRM_MSG_MAPPING ABI breakage Message-ID: <20210913102316.GA30886@asgard.redhat.com> References: <20210912122234.GA22469@asgard.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 13, 2021 at 09:16:39AM +0200, Ondrej Mosnacek wrote: > Perhaps it would be a good idea to put a comment here to make it less > likely that this repeats in the future. Something like: > > /* IMPORTANT: Only insert new entries right above this line, otherwise > you break ABI! */ Well, this statement is true for (almost) every UAPI-exposed enum, and netlink is vast and relies on enums heavily. I think it is already mentioned somewhere in the documentation, and in the end it falls on the shoulders of the maintainers—to pay additional attention to UAPI changes.