[PATCH v2 1/2] fib: implement RCU rule reclamation
Stephen Hemminger
stephen at networkplumber.org
Tue Oct 8 20:18:23 CEST 2024
On Tue, 8 Oct 2024 17:55:23 +0000
Vladimir Medvedkin <vladimir.medvedkin at intel.com> wrote:
> @@ -569,7 +600,60 @@ dir24_8_free(void *p)
> {
> struct dir24_8_tbl *dp = (struct dir24_8_tbl *)p;
>
> + if (dp->dq != NULL)
> + rte_rcu_qsbr_dq_delete(dp->dq);
> +
Side note:
rte_rcu_qsbr_dq_delete should be changed to accept NULL as nop.
Like all the other free routines
More information about the dev
mailing list