Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp564636rwi; Thu, 13 Oct 2022 02:00:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6qs2RHls4K7PFljNHHck5ofTQP8bVn869XlBShjZdk+Iy4hZ7C0HQ5EMtKCY++Zhe4MxmB X-Received: by 2002:a17:906:794b:b0:783:8db0:95a5 with SMTP id l11-20020a170906794b00b007838db095a5mr26486287ejo.728.1665651624671; Thu, 13 Oct 2022 02:00:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665651624; cv=none; d=google.com; s=arc-20160816; b=yQiP+BoL/uyhidOH6rfRqbnpPdZUQRx+ySFkBe0LP7Z4ykAm2ybA8hSAW83+dzpLpc FnjHcBwrXXP+LTQcGNyaPdxgVsAEM8bR4rUqQ1eHVsJKhIZmRimW2Keoy2AA26YYiABY wzUjkcpIqSon3zJMkE0qBoUnmbe5HaJrLi6qYFejZalHW4KFZvTguHbrAVkilRUxM05x IhLealfDPdTgskOSKKddAoNS6PqPNJg75xaVhz7mJG9l3c5N1LS1262eBVM2+aLBnFen E2QfWPHoE43TJ35iqER+L26fL6u19F2twKr+VPJiriES7z8oDV86SPp6ryxZ77EUff8W EhhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=+Gk2VO4LfcKf3IYSHJKVrzo/WELoPVr01CZJ1ZoXheU=; b=jGnwSjgeD1QBEyE+qYP0XrlgtAB5a20b4FK6Euup4sF6U7zHCocfd0W+0ShJ3baDZ/ /LrXNeeZt488fF6Ex/YioVdfVM9nA/J2z//duWWTMsYl4QHmZr62c9i4hn75R3t4N5jT cdbElhw+EZ3TBbcSWzABcmI/0KMen9eY6kQVbU7W9CJlDjo/cmkEjjvmtAmVkAcXk+W0 l3ahWDb8vDIdcMYdgfqoijQJLbj/Wclo0NUFg5EPOjMIBHeEYxVoel6YAB3ZCdtZuqCS ZFqWk2Bro6co0Du57kMxmiauGtpj86pCQsNCR4hnpVtMwzU/cxoy70VpYMIv5pX7pTXt fKvA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y2-20020a056402358200b0045caa8bf80bsi2253103edc.307.2022.10.13.01.59.56; Thu, 13 Oct 2022 02:00:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229600AbiJMIFt (ORCPT + 99 others); Thu, 13 Oct 2022 04:05:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229494AbiJMIFr (ORCPT ); Thu, 13 Oct 2022 04:05:47 -0400 Received: from fornost.hmeau.com (helcar.hmeau.com [216.24.177.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D423104D1D; Thu, 13 Oct 2022 01:05:46 -0700 (PDT) Received: from gwarestrin.arnor.me.apana.org.au ([192.168.103.7]) by fornost.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1oitCx-00EEsi-LD; Thu, 13 Oct 2022 19:04:48 +1100 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Thu, 13 Oct 2022 16:04:47 +0800 Date: Thu, 13 Oct 2022 16:04:47 +0800 From: Herbert Xu To: Steffen Klassert Cc: Christian Langrock , davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH ipsec v6] xfrm: replay: Fix ESN wrap around for GSO Message-ID: References: <6810817b-e6b7-feac-64f8-c83c517ae9a5@secunet.com> <20221013061633.GS2950045@gauss3.secunet.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221013061633.GS2950045@gauss3.secunet.de> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 13, 2022 at 08:16:33AM +0200, Steffen Klassert wrote: > > That is because with this patch, the sequence number from the xfrm_state > is assigned to the skb and advanced by the number of segments while > holding the state lock, as it was before. The sequence numbers this > patch operates on are exclusive and private to that skb (and its > segments). The next skb will checkout the correct number from the > xfrm_state regardless on which cpu it comes. Thanks for the explanation Steffen. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt