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 X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7EA79C433F5 for ; Fri, 17 Sep 2021 07:54:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5D2B860F6B for ; Fri, 17 Sep 2021 07:54:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244250AbhIQH4H (ORCPT ); Fri, 17 Sep 2021 03:56:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241682AbhIQH4H (ORCPT ); Fri, 17 Sep 2021 03:56:07 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A931C061574 for ; Fri, 17 Sep 2021 00:54:45 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id u18so11929005wrg.5 for ; Fri, 17 Sep 2021 00:54:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; h=reply-to:subject:to:cc:references:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=lEMrqRFvHCI9WtSnFZ5s8+gUDEo4Nn3YrG808Z17kgI=; b=QswdL5/FhK5Rp3rDkkEIprXBS/oma/8BSVGzD0SEmCp/5s3SoFkFuoqjL9Pr8914tP 4p7W3lQnkwN3IFcvtURsJNwQF3nr/PecaE5adANsmJov76IPMGWqADX35LX5BQ1aM8CR FZzk45t1oKQMrYBBhMO3DGek9GO0wQAtqZkdLc4Sv3Rr18Cs+R1zEiravNdWZkKAv3jl rYLCw8eMMPlwqHtin3o+v1xbx9gsKNZ2rC6ZkdLeywvKObgP+IMz8LEuEj3gs0rWCMrj hWqd20YVb3b/ozOKnFKK/hZ+EF9CHwtMk3rDt/tDsjYcsdaAwWJVuWWSFBDPQpc7SPVn NmwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:reply-to:subject:to:cc:references:from :organization:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=lEMrqRFvHCI9WtSnFZ5s8+gUDEo4Nn3YrG808Z17kgI=; b=Pdku00jhfUF3jZmaV6cn4RfouDQ3UPOyApIoY/5QJDHzvMgX67t6Or7Yx62ZOU3JFM Nl7RVE8a0vf39Pdfd/s38/Yyw8oGdG0zYKoykPf6FjVd0C8JKbp/VCafm7mJZLFl3AkT InrYtiNTnASBTWfmQRfAb1EZ8HQCM+NAHXzOAuAInAGrfZrd6obm1n3oijGKwRsY+QiD h/9BE14Bi97e9oXW/z+MLcwd+Q28xE0jmFkDujBdRZUvAf1Tzd706PMrJ9BmtLqhJ45/ q0vvm47fedgPyKFdAYD3KWyyu2xDJUogwKP0IVMTcI4fuqRfROEsFQl6GaWemv16uD9a KYlg== X-Gm-Message-State: AOAM532z3QG+vP/0pbf20Qlfl2TMX4E/E6CoaEbnSfDjgPm+Q9Y98NZ5 zh6V8XkPGbdVHeJPfvgs3bBNore9QRqEHw== X-Google-Smtp-Source: ABdhPJyGGxFMPJSNf2JAd0TEWa/U4XoPzRIjTAlYAQMXZjVQEMMLJ4FbanL/NxlPm4PoceVNavDK6g== X-Received: by 2002:a5d:4a08:: with SMTP id m8mr10239714wrq.263.1631865283824; Fri, 17 Sep 2021 00:54:43 -0700 (PDT) Received: from ?IPv6:2a01:e0a:410:bb00:c55c:1af:42ea:ba9e? ([2a01:e0a:410:bb00:c55c:1af:42ea:ba9e]) by smtp.gmail.com with ESMTPSA id i27sm9801959wmb.40.2021.09.17.00.54.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Sep 2021 00:54:43 -0700 (PDT) Reply-To: nicolas.dichtel@6wind.com Subject: Re: [PATCH ipsec v3 0/2] xfrm: fix uapi for the default policy To: Steffen Klassert Cc: davem@davemloft.net, kuba@kernel.org, antony.antony@secunet.com, netdev@vger.kernel.org References: <20210908072341.5647-1-nicolas.dichtel@6wind.com> <20210914144635.6850-1-nicolas.dichtel@6wind.com> <20210917070610.GB1407957@gauss3.secunet.de> From: Nicolas Dichtel Organization: 6WIND Message-ID: Date: Fri, 17 Sep 2021 09:54:42 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210917070610.GB1407957@gauss3.secunet.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Le 17/09/2021 à 09:06, Steffen Klassert a écrit : > On Tue, Sep 14, 2021 at 04:46:32PM +0200, Nicolas Dichtel wrote: >> This feature has just been merged after the last release, thus it's still >> time to fix the uapi. >> As stated in the thread, the uapi is based on some magic values (from the >> userland POV). >> Here is a proposal to simplify this uapi and make it clear how to use it. >> The other problem was the notification: changing the default policy may >> radically change the packets flows. >> >> v2 -> v3: rebase on top of ipsec tree >> >> v1 -> v2: fix warnings reported by the kernel test robot >> >> Nicolas Dichtel (2): >> xfrm: make user policy API complete >> xfrm: notify default policy on update > > Applied, thanks a lot Nicolas! > Thanks Steffen. I will write the follow up patch once the ipsec tree is merged into ipsec-next. Regards, Nicolas