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 1E2DCA0C53 for ; Thu, 14 Oct 2021 08:51:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1421940041; Thu, 14 Oct 2021 08:51:19 +0200 (CEST) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by mails.dpdk.org (Postfix) with ESMTP id 13B3F40041; Thu, 14 Oct 2021 08:51:18 +0200 (CEST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id F1EE13201C12; Thu, 14 Oct 2021 02:51:16 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 14 Oct 2021 02:51:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= Aktak38IfFY7+R0+Vcumr+UM5OlTL4dq9iqRQQ65MQA=; b=ZtRJMJHhuv1j4xdb bfJXe/WovgQST09SaFYJNxdmWgcf2aGSYiLX6C4r8pIlj1NkagCeLs84wRqtg9Q9 I13HVc9TIeQZT0nvlQLqjkxDHAuZKVGqFU5VFTbmukpviyo2LyCOeSi5X7+djdYQ NK/f4z5WkpRd53UtaOrdF9BmSXy4NQ4r6MmTBF/67LCgOwhoakVVUPCLxIVJ5bHz gbFT+ey21xJ4qZcUeGSdd/nvEw33Wl67sFW2mrUrk/HC6qP4rfbqf/cqrm4bB7EA MnjRny5LVMt1ezNQlCJsvPuFsBAhJfGB2mEvcscMrd25vxuxhNEt7frnzuHLuj3S 9NN9Pg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=Aktak38IfFY7+R0+Vcumr+UM5OlTL4dq9iqRQQ65M QA=; b=nJW2sZv/I/PUFw+wBrW20ldgIhPwnwXnRgW+WJwJBnowU2pT5i3oFVw3R 7q3VU9NC4PkTcfe8P42YJk3M37pX6eSrEFvfE/0nZMIZw7ofCiRk+pHa90/hBHi0 OV0aMJBpjglnuoHIOPRX1mBqrDm/jYMLIbriVeCSNbXayoDopiTYXVgnV2iQaVzc Y8Js8Tgw8eG6TySpaDQMIy+i2daUZbCKbylgZYrbo+5I9bJoWPzPb/CIb8dRxKLu tyBwDZjQ/j2OaqojMaE4UhUWfDLFXjOFi1aPHrxzpGpGFmVPgatOtlleUjXhGu8q yMWHf9qO1rebuW2MQbRPADc+hi0Hg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdduuddguddtiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthhqredttddtjeenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpeekteehtdeivefhieegjeelgedufeejheekkeetueevieeuvdev uedtjeevheevteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 14 Oct 2021 02:51:15 -0400 (EDT) From: Thomas Monjalon To: huichao cai Cc: "dev@dpdk.org" , "stable@dpdk.org" , "Ananyev, Konstantin" Date: Thu, 14 Oct 2021 08:51:13 +0200 Message-ID: <17025089.1yWGkTkiXE@thomas> In-Reply-To: References: <1632737174-86870-1-git-send-email-caihc1@chinatelecom.cn> <1633764424-17370-1-git-send-email-chcchc88@163.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v2] ip_frag: fix fragmenting IPv4 fragment X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" > > Current implementation of rte_ipv4_fragment_packet() doesn=E2=80=99t ta= ke > > into account offset and flag values of the given packet, but blindly > > assumes they are always zero (original packet is not fragmented). > > According to RFC791, fragment and flag values for new fragment > > should take into account values provided in the original IPv4 packet. > >=20 > > Fixes: 4c38e5532a07 ("ip_frag: refactor IPv4 fragmentation into a prope= r library") > > Cc: stable@dpdk.org > >=20 > > Signed-off-by: huichao cai >=20 > Acked-by: Konstantin Ananyev Applied, thanks.