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

2017-04-30 Thread David Miller
From: David Howells 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. > >

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

2017-04-30 Thread David Miller
From: David Howells 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

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

2017-04-27 Thread David Howells
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 --- net/core/net_namespace.c |3

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

2017-04-27 Thread David Howells
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 --- net/core/net_namespace.c |3 ++- 1 file changed, 2