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

David Miller davem at davemloft.net
Sun Apr 30 19:32:30 PDT 2017


From: David Howells <dhowells at redhat.com>
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 at redhat.com>

Applied.



More information about the linux-afs mailing list