From 0a8171375b203235cc2ff88481c99539f85f1d5b Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Wed, 19 Jun 2013 10:07:16 +1000 Subject: [PATCH] sctp: convert __list_for_each use to list_for_each Signed-off-by: Dave Jones Cc: Vlad Yasevich Cc: Neil Horman Cc: "David S. Miller" Signed-off-by: Andrew Morton --- net/sctp/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) 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); } -- 2.39.5