10/05/2017 17:13, Olivier Matz: > From: Gregory Etelson <greg...@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 <greg...@weka.io> > Signed-off-by: Olivier Matz <olivier.m...@6wind.com>
Applied, thanks