]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/sctp/protocol.c
[NET]: Make the device list and device lookups per namespace.
[linux-2.6-omap-h63xx.git] / net / sctp / protocol.c
index af67c839ef98410c55c5c6c8018ad41fc8f6ad64..54edcd978f75c4a8b737bd30cee760d56317aee0 100644 (file)
@@ -179,7 +179,7 @@ static void sctp_get_local_addr_list(void)
        struct sctp_af *af;
 
        read_lock(&dev_base_lock);
-       for_each_netdev(dev) {
+       for_each_netdev(&init_net, dev) {
                __list_for_each(pos, &sctp_address_families) {
                        af = list_entry(pos, struct sctp_af, list);
                        af->copy_addrlist(&sctp_local_addr_list, dev);