Use list_for_each_safe() to iter over l2flow_table

abm_br_even() iterates over elements in l2flow_table[i]. Under certain
conditions, the loop body calls list_del() on the current element which
must not be done if list_for_each() is used.  Let's use
list_for_each_safe() instead as it saves pointers to the previous and
next element. Therefore, the current element can be deleted safely.

Change-Id: I5f917098a743d2f1b88b01c9ec20f70bb6d6de17
1 file changed