Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp1326297ybm; Sat, 30 May 2020 05:43:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLUCkvSakAxHzZBQ/q98/rYB0XncQGj3c3imnuoRlZf+ZiXCRimhEGQoTOI3nh0MBAmPK1 X-Received: by 2002:a17:906:c1c1:: with SMTP id bw1mr6431892ejb.379.1590842599735; Sat, 30 May 2020 05:43:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590842599; cv=none; d=google.com; s=arc-20160816; b=txZ4JuWXIMVD31Tt/GcQ9AlHHKo8mZIDOOEbH2+OqrDbAzFFpYzyod0K2LRiFp4mMZ r9/9oJUX1auXkv3GP1b+Kee3oaA7wG59t3dcVvFdYIHmIhUIlNgmc8PV12ojFH/mS2Nr cXLhsU92qQ/MbsUYekc4B6xwPXZLqXGsPWv2sca6bmGYKqZv+X3OrK7SCSFo6j8te2F4 OTtoDNCtF54DIE5/qADPUdpwQR+ieruWTjrEwIj1n6v6YQiPtHetbFJkvV6XNgz/hSdq fxHHzU/6mqzLuhRRkHynDNugCLe3gt+LPazNj7UokykXHjRV/M+aidu+vVji7Os5CI5m ZgeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=0jWiyb3a8DKWM+5Wr7Pty+0oF/ve5Qx+saftlGXjYSg=; b=APfOZJ87Z5LMN/FxETRF7wrE9+Q/JiTUWL2YfqUNmEIV01gjErq8eZ175p9ULoD5Y0 TCmVr8vG0tVOk4lY5SS10lx4ol7BeH6ghZ3KUxoV4QleWwZzd5Gj1ZlfBTrjxGq/69CQ 2EuOcPSgb5BbImjZ4bni/lI2tSMto4i8mQ3OvKrxP5Wde9s+4iO8P8AO0vv0Bo3nJVCd 55edx7pXw3MUTqBBwzOlS1SM/l7huePL/aJaN5A0HaPcGm4YDJpY2iK61kHoBq7m86G+ bsMC02zo8dLY5HG9po3468uW49SamnkVn/3WhIDv/NYvBTq6CHX6Zg/YcHZVQt5fGihx lVpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@excello.cz header.s=default header.b=tYaVwRLR; 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=excello.cz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dp4si8569850ejc.258.2020.05.30.05.42.56; Sat, 30 May 2020 05:43:19 -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 (test mode) header.i=@excello.cz header.s=default header.b=tYaVwRLR; 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=excello.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728879AbgE3MlN (ORCPT + 99 others); Sat, 30 May 2020 08:41:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbgE3MlM (ORCPT ); Sat, 30 May 2020 08:41:12 -0400 Received: from out1.virusfree.cz (out1.virusfree.cz [IPv6:2001:67c:15a0:4000::e1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3685BC03E969 for ; Sat, 30 May 2020 05:41:12 -0700 (PDT) Received: (qmail 31790 invoked from network); 30 May 2020 14:41:10 +0200 Received: from out1.virusfree.cz by out1.virusfree.cz (VF-Scanner: Clear:RC:0(2001:67c:1591::6):SC:0(-2.5/5.0):CC:0:; processed in 0.3 s); 30 May 2020 12:41:10 +0000 X-VF-Scanner-Mail-From: pv@excello.cz X-VF-Scanner-Rcpt-To: linux-kernel@vger.kernel.org X-VF-Scanner-ID: 20200530124110.262126.31751.out1.virusfree.cz.0 X-Spam-Status: No, hits=-2.5, required=5.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=excello.cz; h= date:message-id:from:to:subject:reply-to; q=dns/txt; s=default; t=1590842470; bh=0jWiyb3a8DKWM+5Wr7Pty+0oF/ve5Qx+saftlGXjYSg=; b= tYaVwRLR5uRoCwxwA2rAhHxHa/r8Bxj9z8M508+Eb9CQkueWIgZNUENXP3ShKcnC RokKT055Hu1Mvm6517erOCuk/n1lO2fKz5UfeVf5nrBcnxZgdmYW8iSDcayVDjqE WQZVzv2g1ZZx9108AANKuHG0WWpnYXDGX9kagS1lc0o= Received: from posta.excello.cz (2001:67c:1591::6) by out1.virusfree.cz with ESMTPS (TLSv1.3, TLS_AES_256_GCM_SHA384); 30 May 2020 14:41:09 +0200 Received: from arkam (ip-86-49-32-164.net.upcbroadband.cz [86.49.32.164]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by posta.excello.cz (Postfix) with ESMTPSA id 70D819D7484; Sat, 30 May 2020 14:41:09 +0200 (CEST) Date: Sat, 30 May 2020 14:41:07 +0200 From: Petr =?utf-8?B?VmFuxJtr?= To: Christophe Gouault Cc: Steffen Klassert , Herbert Xu , "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] xfrm: no-anti-replay protection flag Message-ID: <20200530124107.GB7476@arkam> References: <20200525154633.GB22403@atlantis> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Christophe, On Wed, May 27, 2020 at 07:11:21PM +0200, Christophe Gouault wrote: > This patch is useful, however I think you should change the name of > the option and amend its description: > the option does not disable anti-replay in output (it can only be > disabled in input), it allows the output sequence number to wrap, and > it assumes that the remote peer disabled anti-replay in input. > > So you I suggest you change the name of the option to something like > XFRM_SA_XFLAG_OSEQ_MAY_WRAP or XFRM_SA_XFLAG_ALLOW_OSEQ_WRAP. thank you for your suggestions, I changed the patch and sent the second version. Petr