aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2013-06-17 22:26:52 -0400
committerDavid S. Miller <davem@davemloft.net>2013-06-20 02:02:49 -0400
commit2c0740e4e122239bcf6127fd2063733c5fb20c93 (patch)
treeaabc3f15ca821169ffe88007b895d8661f531bf7
parent85768271315bd368c86a0783bf0c85019afbabec (diff)
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>
-rw-r--r--net/sctp/protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c
index 57b568c38ef6..1de49c802d83 100644
--- a/net/sctp/protocol.c
+++ b/net/sctp/protocol.c
@@ -178,7 +178,7 @@ static void sctp_get_local_addr_list(struct net *net)
178 178
179 rcu_read_lock(); 179 rcu_read_lock();
180 for_each_netdev_rcu(net, dev) { 180 for_each_netdev_rcu(net, dev) {
181 __list_for_each(pos, &sctp_address_families) { 181 list_for_each(pos, &sctp_address_families) {
182 af = list_entry(pos, struct sctp_af, list); 182 af = list_entry(pos, struct sctp_af, list);
183 af->copy_addrlist(&net->sctp.local_addr_list, dev); 183 af->copy_addrlist(&net->sctp.local_addr_list, dev);
184 } 184 }