From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] memalloc: fix pointer dereferencing Date: Mon, 14 Jan 2019 15:52:40 +0100 Message-ID: <6917165.pcxHdZzbbr@xps> References: <7b4ee39eb515cfebabefd43c77294ee55ab8092d.1546964889.git.anatoly.burakov@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, stable@dpdk.org To: Anatoly Burakov Return-path: In-Reply-To: <7b4ee39eb515cfebabefd43c77294ee55ab8092d.1546964889.git.anatoly.burakov@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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