Hi Sergio,
On 07/22/2016 06:01 PM, Sergio Gonzalez Monroy wrote:
> Potentially user provided function could remove/free tailq elements.
> Doing so within a TAILQ_FOREACH loop is not safe.
>
> Use _SAFE versions of _FOREACH macros.
>
> Signed-off-by: Sergio Gonzalez Monroy
> ---
> lib/librte_me
Potentially user provided function could remove/free tailq elements.
Doing so within a TAILQ_FOREACH loop is not safe.
Use _SAFE versions of _FOREACH macros.
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_mempool/rte_mempool.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(
2 matches
Mail list logo