diff options
| author | David Howells <dhowells@redhat.com> | 2017-04-28 00:40:23 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-05-01 05:32:16 +0300 |
| commit | b5082df8019ac47ff1e6b6454480e39d0223fc46 (patch) | |
| tree | 2f9b00cd0df7065e949255aa6d3256c80efe4c4a /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 5e0740c445e6ae4026f5e52456ff8d0be9725183 (diff) | |
| download | linux-b5082df8019ac47ff1e6b6454480e39d0223fc46.tar.xz | |
net: Initialise init_net.count to 1
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@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
