commit | 4ef079ccc1d934c5f9966f2bfcd5dbbef8f7a0a7 | [log] [tgz] |
---|---|---|
author | Alexey Dobriyan <adobriyan@gmail.com> | Tue Oct 14 22:54:48 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 14 22:54:48 2008 -0700 |
tree | ccbd92a50d591602433b497625767d06e03c82f2 | |
parent | 3497b2f274b62292df67b6321d8947e24fce94a9 [diff] |
netns: fix net_generic array leak Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c index b0dc818..f1d07b5 100644 --- a/net/core/net_namespace.c +++ b/net/core/net_namespace.c
@@ -96,7 +96,7 @@ return; } #endif - + kfree(net->gen); kmem_cache_free(net_cachep, net); }