[dpdk-dev] [PATCH v2 2/2] net/i40e: fix unsafe tailq element removal

2016-07-22 Thread Thomas Monjalon
2016-07-22 15:02, Pablo de Lara: > i40e driver was removing elements when iterating tailq lists > with TAILQ_FOREACH macro, which is not safe. > Instead, TAILQ_FOREACH_SAFE macro is used when removing/freeing > these elements. Pablo, Maybe we should add a note to explain that the bug of freeing wh

[dpdk-dev] [PATCH v2 2/2] net/i40e: fix unsafe tailq element removal

2016-07-22 Thread Pablo de Lara
i40e driver was removing elements when iterating tailq lists with TAILQ_FOREACH macro, which is not safe. Instead, TAILQ_FOREACH_SAFE macro is used when removing/freeing these elements. Fixes: 4861cde46116 ("i40e: new poll mode driver") Fixes: 440499cf5376 ("net/i40e: support floating VEB") Signe