projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3497b2f
)
netns: fix net_generic array leak
author
Alexey Dobriyan
<adobriyan@gmail.com>
Wed, 15 Oct 2008 05:54:48 +0000
(22:54 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 15 Oct 2008 05:54:48 +0000
(22:54 -0700)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net_namespace.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/net_namespace.c
b/net/core/net_namespace.c
index b0dc818a91d7fadafb9ea7308fa66f1140ca45a4..f1d07b5c1e17257c21f6669588946a0df08b77a4 100644
(file)
--- a/
net/core/net_namespace.c
+++ b/
net/core/net_namespace.c
@@
-96,7
+96,7
@@
static void net_free(struct net *net)
return;
}
#endif
-
+ kfree(net->gen);
kmem_cache_free(net_cachep, net);
}