Loading net/core/net_namespace.c +2 −0 Original line number Diff line number Diff line Loading @@ -32,10 +32,12 @@ void net_unlock(void) mutex_unlock(&net_list_mutex); } #if 0 static struct net *net_alloc(void) { return kmem_cache_alloc(net_cachep, GFP_KERNEL); } #endif static void net_free(struct net *net) { Loading Loading
net/core/net_namespace.c +2 −0 Original line number Diff line number Diff line Loading @@ -32,10 +32,12 @@ void net_unlock(void) mutex_unlock(&net_list_mutex); } #if 0 static struct net *net_alloc(void) { return kmem_cache_alloc(net_cachep, GFP_KERNEL); } #endif static void net_free(struct net *net) { Loading