763197ad73
i40e driver was removing elements when iterating tailq lists with TAILQ_FOREACH macro, which is not safe. It is especially visible since the memory is zeroed on free (commit ea0bddbd14e6). 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") Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>