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 31107A0A02; Tue, 4 May 2021 19:50:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C40C64014D; Tue, 4 May 2021 19:50:45 +0200 (CEST) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by mails.dpdk.org (Postfix) with ESMTP id 4446540147 for ; Tue, 4 May 2021 19:50:44 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id CB34717D7; Tue, 4 May 2021 13:50:42 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 04 May 2021 13:50:43 -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=fm1; bh= eDgwCmhr/soGruxBsp42uKPz5WCI9J7AaQe+DGtwOCE=; b=T+yKFdsPzrk9ClGJ s7Lu3CsPMVLIF5QEHXgn0Gdl9+WBhYDbK7ENJcjM0JNJjFlJZJSDbnRFDPLuNl6x hteVXsk93k/AWLjCutX3ZOPNQRJa0uJKbJrsF0IhQ5JHErxG3rJDKtNxLKfdHmcd eZJ8ndpj1RIMZzTwhAF3cBIGzf1nMbMnnxNcv59f8qigk6W5yot04m3kEIaaRnWT fROSyIWjFyPBkOOM7lHSPnOfCpv2QGxmG7fv4d/hSjK1rGTRQpmaXSs/dAsMFxaB jSLniGe33RjoGnKhp1SOWhvoHz9B0TSGYA9ivQGnxwuIuk3hhaF4kVmP9O1z2HqO 3l9eOg== 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=fm2; bh=eDgwCmhr/soGruxBsp42uKPz5WCI9J7AaQe+DGtwO CE=; b=sE4kli+4CWr+Y8uj7yLqex4fMsKegsDjCtK0VFvNGmYujsa/I3BZ0Ni/I czjkz8R1ardpxrNyA3Lnz3B5ZQO5EVWpzlbDq9Fu7Hm9yEXEUXufLPPCCKLqv0WS nQRFVDdcfEAztPzemAtqnsoghiRiDvMt4Vtw6/D0MY3ThARiU271EVQgPMZk3uOw eq3c7svubD7QkuZNsc9uWhBqCy2jq0kRQv80wSHU3K5Qmh/itLkghnqG53CUx/rM m0xsKcYL2Byyck7n+xv0o/3YOIUKNbGhXcc/u23s6v6M8vRykffgydisp7emKJas 9XxG432AVVaJ5wCpOyp1qLaJMNQ7Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdefiedguddvtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr lhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 4 May 2021 13:50:39 -0400 (EDT) From: Thomas Monjalon To: "Min Hu (Connor)" Cc: dev@dpdk.org, ferruh.yigit@intel.com, Olivier Matz Date: Tue, 04 May 2021 19:50:37 +0200 Message-ID: <13731350.iMDPXxZXgv@thomas> In-Reply-To: <20210428123128.GV1726@platinum> References: <1619165464-7545-1-git-send-email-humin29@huawei.com> <20210428123128.GV1726@platinum> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] mbuf: check mbuf dyn shared memory validity 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 Sender: "dev" 28/04/2021 14:31, Olivier Matz: > Hi Chengwen, > > On Fri, Apr 23, 2021 at 04:11:04PM +0800, Min Hu (Connor) wrote: > > From: Chengwen Feng > > > > Because mbuf dyn shared memory was allocated runtime, so it's > > necessary to check validity when dump mbuf dyn info. > > > > Also this patch adds an error logging when init shared memory fail. > > > > Fixes: 4958ca3a443a ("mbuf: support dynamic fields and flags") > > Cc: stable@dpdk.org > > > > Signed-off-by: Chengwen Feng > > Signed-off-by: Min Hu (Connor) > > Acked-by: Olivier Matz With title "mbuf: check shared memory before dumping dynamic space", applied, thanks.