[PATCH v2 1/5] eal: check lcore variable handle

Burakov, Anatoly anatoly.burakov at intel.com
Wed Dec 18 12:18:25 CET 2024


On 12/17/2024 9:59 AM, David Marchand wrote:
> Add an assert to double check the passed handle is not NULL, as it
> points at an initialisation/allocation issue prior to accessing this
> lcore variable.
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---
>   lib/eal/include/rte_lcore_var.h | 2 ++
>   1 file changed, 2 insertions(+)
Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>

-- 
Thanks,
Anatoly


More information about the dev mailing list