提交 4ef079cc 编写于 作者: A Alexey Dobriyan 提交者: David S. Miller

netns: fix net_generic array leak

Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 3497b2f2
......@@ -96,7 +96,7 @@ static void net_free(struct net *net)
return;
}
#endif
kfree(net->gen);
kmem_cache_free(net_cachep, net);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册