* [PATCH] netns: fix net_generic array leak
@ 2008-10-15 4:15 Alexey Dobriyan
2008-10-15 5:54 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2008-10-15 4:15 UTC (permalink / raw)
To: davem; +Cc: netdev, xemul, den
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
net/core/net_namespace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- 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);
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] netns: fix net_generic array leak
2008-10-15 4:15 [PATCH] netns: fix net_generic array leak Alexey Dobriyan
@ 2008-10-15 5:54 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-10-15 5:54 UTC (permalink / raw)
To: adobriyan; +Cc: netdev, xemul, den
From: Alexey Dobriyan <adobriyan@gmail.com>
Date: Wed, 15 Oct 2008 08:15:22 +0400
> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Applied, thanks Alexey.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-15 5:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-15 4:15 [PATCH] netns: fix net_generic array leak Alexey Dobriyan
2008-10-15 5:54 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox