Commit 77b79a0b authored by Jon Grimm's avatar Jon Grimm

[SCTP] Use non-prefetch list walker for short list.

Something weird is happening with prefetch during our module init.  
Notified Andi, but this is at least a workaround for us dying.
parent da8879d2
...@@ -166,7 +166,7 @@ static void __sctp_get_local_addr_list(struct sctp_protocol *proto) ...@@ -166,7 +166,7 @@ static void __sctp_get_local_addr_list(struct sctp_protocol *proto)
read_lock(&dev_base_lock); read_lock(&dev_base_lock);
for (dev = dev_base; dev; dev = dev->next) { for (dev = dev_base; dev; dev = dev->next) {
list_for_each(pos, &proto->address_families) { __list_for_each(pos, &proto->address_families) {
af = list_entry(pos, struct sctp_af, list); af = list_entry(pos, struct sctp_af, list);
af->copy_addrlist(&proto->local_addr_list, dev); af->copy_addrlist(&proto->local_addr_list, dev);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment