Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp751950rdg; Thu, 12 Oct 2023 22:56:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH4sIdDeIN7Q2b6/Go4ul7ND/Wq7HzwFOH3/FyS9e06jeET2Ozg3jCokSL9zTSLRcPsN1zl X-Received: by 2002:a05:6a21:78aa:b0:16b:9886:7eda with SMTP id bf42-20020a056a2178aa00b0016b98867edamr25946830pzc.35.1697176565194; Thu, 12 Oct 2023 22:56:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697176565; cv=none; d=google.com; s=arc-20160816; b=ROTHHYqa65M/8+/ge/4TUQseA1efOQGORGJNDZTaVKPsvg8Sw1koAhjky/nVBsHvDe aUVencdxvZPeYzfN4gRyH186m4MN4IYCpE05F2FqEywHrYAKbpr8ydjsfG2kzU9FHHoM eBNvUc4Ss989NktTfCdRZlDam0Rw1YuSMQdxyaSXEZ726QaZVT1+HKls8PRR7T7Nt7FO P4shIWIpS3ZI7sR6ebt3nDBkt/cdzBBkyqSiEwuUtsUqhwxerRjCDJc/tCDQRJVoGbmT h3p9LkG8GSIRAoNfA6fcP9RxUuMFA1vrGoXZafldi37Ou6Q/5wSHSasM30wzRWIAijyB mZgg== 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=ouX+/yPcfeD/fs31f+4QERpyZDKf7o+acoIUrvPFYYk=; fh=hKKyzHsiKAhNj2Up0c/3aYM285Pjult92quRjodKt3o=; b=WLPa4DbdC3WIaVRuxOw8q9VvGBsclhTibdnduWum5WxAthrG8uoZxaYtzloYeHVD3n sqe9QFF+Fni8ZPAWBeYFdCGhqHCBDHQllvd8g4ElwV4a5jBmtyjPubFXmH5fCHr5ARxf kRgv8INolLdB+0QBgtFZvK5c43mF01cbGMN1J4Dp/Xe0K8xxPr0tjWXtOCNGd4u1CFVI QcirHFgQp0WaCaPdYXQABCm1LqC6lvoKSpZdADsPJ9ehYLvWvUle9RrehC1/53NIwweX GfuZrgzLyOmQK7c+q9thDFIaAzU2nZ/u22ZnFbYfdqgbRAWCgSSE2UJKReVWP5vXc1vV iBXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id v10-20020a170902b7ca00b001bd9e2b4b46si3597163plz.601.2023.10.12.22.56.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 22:56:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 2EA0A822CCCA; Thu, 12 Oct 2023 22:56:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229732AbjJMFz7 (ORCPT + 99 others); Fri, 13 Oct 2023 01:55:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229707AbjJMFzu (ORCPT ); Fri, 13 Oct 2023 01:55:50 -0400 Received: from a.mx.secunet.com (a.mx.secunet.com [62.96.220.36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99EBFB8; Thu, 12 Oct 2023 22:55:49 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by a.mx.secunet.com (Postfix) with ESMTP id 67CE8207FD; Fri, 13 Oct 2023 07:55:48 +0200 (CEST) X-Virus-Scanned: by secunet Received: from a.mx.secunet.com ([127.0.0.1]) by localhost (a.mx.secunet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eJaMq-f9eqNF; Fri, 13 Oct 2023 07:55:48 +0200 (CEST) Received: from mailout1.secunet.com (mailout1.secunet.com [62.96.220.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by a.mx.secunet.com (Postfix) with ESMTPS id 080B7207C6; Fri, 13 Oct 2023 07:55:48 +0200 (CEST) Received: from cas-essen-02.secunet.de (unknown [10.53.40.202]) by mailout1.secunet.com (Postfix) with ESMTP id F054780004A; Fri, 13 Oct 2023 07:55:47 +0200 (CEST) Received: from mbx-essen-02.secunet.de (10.53.40.198) by cas-essen-02.secunet.de (10.53.40.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Fri, 13 Oct 2023 07:55:47 +0200 Received: from gauss2.secunet.de (10.182.7.193) by mbx-essen-02.secunet.de (10.53.40.198) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Fri, 13 Oct 2023 07:55:47 +0200 Received: by gauss2.secunet.de (Postfix, from userid 1000) id C9A633182B10; Fri, 13 Oct 2023 07:55:46 +0200 (CEST) Date: Fri, 13 Oct 2023 07:55:46 +0200 From: Steffen Klassert To: Ma Ke CC: , , , , , , , Subject: Re: [PATCH] net: ipv6: fix return value check in esp_remove_trailer Message-ID: References: <20231007005953.3994960-1-make_ruc2021@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20231007005953.3994960-1-make_ruc2021@163.com> X-ClientProxiedBy: cas-essen-02.secunet.de (10.53.40.202) To mbx-essen-02.secunet.de (10.53.40.198) X-EXCLAIMER-MD-CONFIG: 2c86f778-e09b-4440-8b15-867914633a10 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 12 Oct 2023 22:56:04 -0700 (PDT) On Sat, Oct 07, 2023 at 08:59:53AM +0800, Ma Ke wrote: > In esp_remove_trailer(), to avoid an unexpected result returned by > pskb_trim, we should check the return value of pskb_trim(). > > Signed-off-by: Ma Ke Applied, thanks a lot!