[dpdk-stable] [PATCH] malloc: fix pad erasing
Thomas Monjalon
thomas at monjalon.net
Fri Jul 13 11:22:43 CEST 2018
31/05/2018 19:05, Anatoly Burakov:
> Previously, when joining adjacent free elements, we were erasing
> trailer and header, but did not erase the padding. Fix this by
> accounting for padding on erase, and do not erase padding twice
> by adjusting data pointer and data len to not include padding.
>
> Fixes: bb372060dad4 ("malloc: make heap a doubly-linked list")
> Cc: stable at dpdk.org
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
Applied, thanks
More information about the stable
mailing list