[dpdk-dev] [PATCH 2/3] memalloc: fix wrong return value on freeing segment on fail

Ananyev, Konstantin konstantin.ananyev at intel.com
Thu May 10 18:03:14 CEST 2018



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Anatoly Burakov
> Sent: Thursday, May 3, 2018 11:11 AM
> To: dev at dpdk.org
> Cc: Liu, Yong <yong.liu at intel.com>; Burakov, Anatoly <anatoly.burakov at intel.com>
> Subject: [dpdk-dev] [PATCH 2/3] memalloc: fix wrong return value on freeing segment on fail
> 
> Return value should be zero for success, but if unlock and unlink
> have succeeded, return value was 1, which triggered failure message
> in calling code.
> 
> Fixes: a5ff05d60fc5 ("mem: support unmapping pages at runtime")
> Cc: anatoly.burakov at intel.com
> 
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---

Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>


More information about the dev mailing list