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 while iterating is seen since the memory is zeroed on free: ea0bddbd14e6 ("mem: zero out memory on free")