[PATCH] opp: fix a missing check on list iterator