Commit 4ef079cc authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by David S. Miller

netns: fix net_generic array leak

Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment