sctp: Convert __list_for_each use to list_for_each
authorDave Jones <davej@redhat.com>
Tue, 18 Jun 2013 02:26:52 +0000 (22:26 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Jun 2013 06:02:49 +0000 (23:02 -0700)
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/protocol.c

index 57b568c38ef625cb48c766d5ff2be2a262bc7032..1de49c802d835be68344a8ab67e41a8e4b94346d 100644 (file)
@@ -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);
                }