On Mon, Oct 18, 2021 at 10:36 AM Olivier Matz <olivier.m...@6wind.com> wrote: > > On Mon, Oct 18, 2021 at 10:26:35AM +0200, David Marchand wrote: > > As reported by Dmitry, MEMPOOL_F_POOL_CREATED is a flag only manipulated > > internally. > > This flag is not supposed to be requested from an application and would > > probably result in an incorrect behavior if an application did pass it. > > > > Other internal flags may be introduced later. > > > > Rework the check and export a mask of valid user flags for use in the > > unit test. > > > > Fixes: b240af8b10f9 ("mempool: enforce valid flags at creation") > > > > Reported-by: Dmitry Kozlyuk <dkozl...@nvidia.com> > > Signed-off-by: David Marchand <david.march...@redhat.com> > Acked-by: Olivier Matz <olivier.m...@6wind.com> Acked-by: Andrew Rybchenko <andrew.rybche...@oktetlabs.ru>
Rebased on top of mempool cleanup series, and applied. Thanks. -- David Marchand