diff options
Diffstat (limited to 'net/sctp/protocol.c')
-rw-r--r-- | net/sctp/protocol.c | 2 |
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 | } |