[dpdk-dev] [PATCH v3] mbuf: fix bulk allocation when debug enabled
Thomas Monjalon
thomas at monjalon.net
Wed May 10 18:17:31 CEST 2017
10/05/2017 17:13, Olivier Matz:
> From: Gregory Etelson <gregory at weka.io>
>
> The debug assertions when allocating a raw mbuf are not correct since
> commit 8f094a9ac5d7 ("mbuf: set mbuf fields while in pool"),
> which triggers a panic when using this function in debug mode
>
> Change the expected number of segments to 1 instead of 0, and
> factorize these sanity checks.
>
> Fixes: 8f094a9ac5d7 ("mbuf: set mbuf fields while in pool")
>
> Signed-off-by: Gregory Etelson <gregory at weka.io>
> Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>
Applied, thanks
More information about the dev
mailing list