[PATCH 5.15 086/102] i40e: i40e_main: fix a missing check on list iterator