]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/core/net_namespace.c
Merge branch 'linus' into core/urgent
[linux-2.6-omap-h63xx.git] / net / core / net_namespace.c
index 7c52fe277b62441966f758b25fad9acef18a10d0..f1d07b5c1e17257c21f6669588946a0df08b77a4 100644 (file)
@@ -18,6 +18,7 @@ static struct list_head *first_device = &pernet_list;
 static DEFINE_MUTEX(net_mutex);
 
 LIST_HEAD(net_namespace_list);
+EXPORT_SYMBOL_GPL(net_namespace_list);
 
 struct net init_net;
 EXPORT_SYMBOL(init_net);
@@ -95,7 +96,7 @@ static void net_free(struct net *net)
                return;
        }
 #endif
-
+       kfree(net->gen);
        kmem_cache_free(net_cachep, net);
 }