From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CAF54A0542; Wed, 26 Oct 2022 17:23:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 719BB400D5; Wed, 26 Oct 2022 17:23:35 +0200 (CEST) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mails.dpdk.org (Postfix) with ESMTP id 788BF40041; Wed, 26 Oct 2022 17:23:33 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 171E4320096F; Wed, 26 Oct 2022 11:23:32 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 26 Oct 2022 11:23:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1666797810; x= 1666884210; bh=VEpXe2P+xBcOopH0STankLF1dCGetFY1OG2e3/wT68g=; b=t FxU0Qzu1+RVVYw0CV06F6nwdaXr659JK2EPNIqkWwrVIOkpEar5TdWpoHZjjfXM4 ubcwx62u1B2RWiJwzuV8rdOHhQVRMHxHldbsP9bLIUFbDeKGcLXyH0HjntkKMCwg sr6m3ptMFvGFUGwTHcVREWvaOM4jhHKwGm8Xtmz/u1tXnqn+4QuSk/aBcS2mMaDg RjEubn/9D5SQvmSABAVMeb6y1IMpQei1nOuFI3aMNhcvj1rAge5ovi85rulVokBB QlivSTq1xKejauwfFI9wbEpd3vprdeY4x7X57DzRCtSDDkSTVAKeOgZ9Ww58Ix2e cHPKkmZhSz3D87RlS1t8A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1666797810; x= 1666884210; bh=VEpXe2P+xBcOopH0STankLF1dCGetFY1OG2e3/wT68g=; b=Q T3ivJd06TwGUS4+8toQwi+eawV0BFWewNdbJDV3oFyMTNLIVEJIQ87OeP38HrklI DuyOlS7nuKPTuzyLSM/k/YGYApR7BJTu/sB6lO2qByaTRbl9v/ZEeGpF44DoPoXD nNvv7FfAYEukOY8+waFPuXRGz0o6JUHBjCCt8hlNGw9FbobIl6K/JJ3iGn+bW15z 3DpXhLWvQLX03sZq9uNOGC3ObkAc5n70Gy7Pa2BG2WAoBCRSuQY8hP1SC+MYj+uJ u8HcmOHf7kpzNH5ej2h1moiuG9QBRTEGzJ+xh3qLjzUOZ/ddeUl32w3yAk2fv4nG RxcZ0ewhdXARX9uZhBTVw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrtddvgdekkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnheptdejieeifeehtdffgfdvleetueeffeehueejgfeuteeftddtieek gfekudehtdfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 26 Oct 2022 11:23:29 -0400 (EDT) From: Thomas Monjalon To: Kumara Parameshwaran Cc: dev@dpdk.org, "stable@dpdk.org" , "Hu, Jiayu" Subject: Re: [PATCH v2] gro : check for payload length after the trim Date: Wed, 26 Oct 2022 17:23:28 +0200 Message-ID: <4221164.ejJDZkT8p0@thomas> In-Reply-To: References: <20221010175109.44282-1-kumaraparmesh92@gmail.com> <20221016144305.19249-1-kumaraparmesh92@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > > From: Kumara Parameshwaran > > > > When packet is padded with extra bytes the the validation of the payload > > length should be done after the trim operation > > > > Fixes: b8a55871d5af ("gro: trim tail padding bytes") > > Cc: stable@dpdk.org > > > > Signed-off-by: Kumara Parameshwaran > > Acked-by: Jiayu Hu Applied, thanks.