Re: [PATCH net-next] net: Initialise init_net.count to 1

From: David Miller
Date: Sun Apr 30 2017 - 22:32:57 EST


From: David Howells <dhowells@xxxxxxxxxx>
Date: Thu, 27 Apr 2017 22:40:23 +0100

> Initialise init_net.count to 1 for its pointer from init_nsproxy lest
> someone tries to do a get_net() and a put_net() in a process in which
> current->ns_proxy->net_ns points to the initial network namespace.
>
> Signed-off-by: David Howells <dhowells@xxxxxxxxxx>

Applied.