[PATCH v3] lib/ring: do not allow zero size ring
Thomas Monjalon
thomas at monjalon.net
Tue Nov 11 13:25:39 CET 2025
11/11/2025 09:24, Konstantin Ananyev:
>
> > this might happen when for instance the ring size is read from
> > config, and would cause runtime crash. Do so by using the
> > RTE_IS_POWER_OF_2 macro.
> >
> > Signed-off-by: Isaac Boukris <iboukris at gmail.com>
> > Acked-by: Wathsala Vithanage <wathsala.vithanage at arm.com>
> > Acked-by: Morten Brørup <mb at smartsharesystems.com>
>
> Acked-by: Konstantin Ananyev <konstantin.ananyev at huawei.com>
Applied, thanks.
More information about the dev
mailing list