From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 10C7E8E76; Mon, 14 Jan 2019 15:52:44 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 48D1C2CC30; Mon, 14 Jan 2019 09:52:43 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 14 Jan 2019 09:52:43 -0500 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=mesmtp; bh=EGbiM1nTfSmw8BqH3xIGmzK7htYTdPd8VbTKwLNzf1c=; b=Mc/pqbgk8oK0 58X3F7jBObGss2LWZXuskuecjU1auirUcCk5OK9zmZFR4RKzgV8v/XCgAboJ2yhD fL/noqPHfHkGq1gd++DBvdTp+sHBxA8rdoqDsgZNKdDGggcoQ3vZwTKD0MJajsQH KnBudZCs7XfYcqmyS1qkUGMhKG47uyI= 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=EGbiM1nTfSmw8BqH3xIGmzK7htYTdPd8VbTKwLNzf 1c=; b=KGCUDPHHMWJirpa0BUgO06F49voMgttWUalJDD6Xincy54O7PljW5aG4g TSNmasEnczaPhoKQIn1YzR3hHwxaToiStLIpgFK8v3ZLI/aBMRPOnH4se3Kj/uRP o4CRi2/pdLhKFWwR0Q9bAqWK02ikKo267HZCyw2W9ra7wPCh1txVrFVB0G5ah6S+ JbGCXZKjSlwmsHXFKlwdSazKGrLtG59nFwCouTAMuyHEukJvWI6vtoaBbKcUurTC YFFlfgv+S4qvgejuAUb+E8s5EMTtiBrJSjpXDt3atKjnEbNKvSrU0ONwmOYhuwOf wTbJ7DSHZoxcRcg/lRX37LTFt4x+w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrgedugdejtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecufedt tdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkfgjfh gggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceo thhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukfhppeejjedrudefgedrvddtfe drudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvthenucevlhhushhtvghrufhiiigvpedt 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 id F11A510281; Mon, 14 Jan 2019 09:52:41 -0500 (EST) From: Thomas Monjalon To: Anatoly Burakov Cc: dev@dpdk.org, stable@dpdk.org Date: Mon, 14 Jan 2019 15:52:40 +0100 Message-ID: <6917165.pcxHdZzbbr@xps> In-Reply-To: <7b4ee39eb515cfebabefd43c77294ee55ab8092d.1546964889.git.anatoly.burakov@intel.com> References: <7b4ee39eb515cfebabefd43c77294ee55ab8092d.1546964889.git.anatoly.burakov@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] memalloc: fix pointer dereferencing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2019 14:52:44 -0000 08/01/2019 17:46, Anatoly Burakov: > The original code was supposed to overwrite the value pointed to > by the pointer, but the new one is instead overwriting the > pointer value itself, which has no effect outside that function. > Fix it by adding a pointer dereference. > > Fixes: 582bed1e1d1d ("mem: support mapping hugepages at runtime") > Cc: stable@dpdk.org > > Signed-off-by: Anatoly Burakov Applied with below title, thanks: mem: fix storing old policy