On Fri, 31 Jan 2020 22:31:57 +0530
<jer...@marvell.com> wrote:

> +     /* Create graph object */
> +     graph = calloc(1, sizeof(*graph));
> +     if (graph == NULL)
> +             set_err(ENOMEM, fail, "failed to calloc graph object");

This won't be safe if used in primary/secondary process model.
You would need to use rte_calloc etc to allow this.

Reply via email to