> -Original Message-
> From: Xing, Beilei
> Sent: Friday, July 19, 2019 1:28 PM
> To: Zhang, Qi Z
> Cc: dev@dpdk.org
> Subject: [PATCH] net/ice: fix unsafe tailq element removal
>
> TAILQ_FOREACH macro is not safe to remove elements during iterating tailq
> lists. Replace it with TAILQ
TAILQ_FOREACH macro is not safe to remove elements
during iterating tailq lists. Replace it with
TAILQ_FOREACH_SAFE.
Fixes: d76116a4678f ("net/ice: add generic flow API")
Signed-off-by: Beilei Xing
---
drivers/net/ice/ice_generic_flow.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
2 matches
Mail list logo