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, which is defined in DPDK if it is not already defined (in FreeBSD).
Pablo de Lara (2): eal: add tailq safe iterator macro net/i40e: avoid unsafe tailq element removal drivers/net/i40e/i40e_ethdev.c | 12 +++++++----- lib/librte_eal/common/include/rte_tailq.h | 11 +++++++++++ 2 files changed, 18 insertions(+), 5 deletions(-) -- 2.7.4