On Wed,  4 Feb 2026 08:12:02 -0800
[email protected] wrote:

> +#ifdef RTE_NET_AF_PACKET_HAVE_LIBURING
> +     rte_free(internals->shared_uring_rings);
> +#endif

you might be able to skip #ifdef if shared_uring_rings is not inside #ifdef.
If not using uring then it will always be NULL and rte_free(NULL) is like 
free(NULL)
and always ok.

Reply via email to