forked from Minki/linux
sctp: Convert __list_for_each use to list_for_each
Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8576827131
commit
2c0740e4e1
@ -178,7 +178,7 @@ static void sctp_get_local_addr_list(struct net *net)
|
||||
|
||||
rcu_read_lock();
|
||||
for_each_netdev_rcu(net, dev) {
|
||||
__list_for_each(pos, &sctp_address_families) {
|
||||
list_for_each(pos, &sctp_address_families) {
|
||||
af = list_entry(pos, struct sctp_af, list);
|
||||
af->copy_addrlist(&net->sctp.local_addr_list, dev);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user