commit | 88a2428b83db4328e69d1c0e2f7364041b8045bf | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Mon Oct 10 14:08:28 2016 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 13 09:57:10 2016 -0400 |
tree | aa5a79a3555a52c5e01aa5c591cde12dc045c153 | |
parent | 1e09c106a44c2b2685a77a1ef27951381c9fcd23 [diff] |
qed: Fix to use list_for_each_entry_safe() when delete items Since we will remove items off the list using list_del() we need to use a safe version of the list_for_each_entry() macro aptly named list_for_each_entry_safe(). Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Yuval Mintz <Yuval.Mintz@caviumnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>