On Wed, Nov 3, 2021 at 4:00 PM David Marchand <[email protected]> wrote: > On Fri, Oct 29, 2021 at 2:16 PM Olivier Matz <[email protected]> wrote: > > > > Seen by ASan. > > > > In the external buffer mbuf test, we check that the buffer is freed > > by checking that its refcount is 0. This is not a valid condition, > > because it accesses to an already freed area. > > > > Fix this by setting a boolean flag in the callback when rte_free() > > is actually called, and check this flag instead. > > > > Bugzilla ID: 867 > > Fixes: 7b295dceea07 ("test/mbuf: add unit test cases") > > Cc: [email protected] > > > > Reported-by: David Marchand <[email protected]> > > Signed-off-by: Olivier Matz <[email protected]> > Reviewed-by: David Marchand <[email protected]>
Applied, thanks. -- David Marchand

