Skip to content

Commit

Permalink
sctp: Convert __list_for_each use to list_for_each
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Dave Jones authored and David S. Miller committed Jun 20, 2013
1 parent 8576827 commit 2c0740e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sctp/protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 2c0740e

Please sign in to comment.