diff options
author | Kuniyuki Iwashima <[email protected]> | 2024-07-31 13:07:19 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-08-03 22:38:44 +0100 |
commit | 930299491825575503ec411ff28473aaa6b8c9ca (patch) | |
tree | ad58184ebe5ab8343ec55ba48bdcfd11b40cad09 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2b5afc1d5d5a33060034f0f275bc0e9c243394bb (diff) |
net: Call preinit_net() without pernet_ops_rwsem.
When initialising the root netns, we call preinit_net() under
pernet_ops_rwsem.
However, the operations in preinit_net() do not require pernet_ops_rwsem.
Also, we don't hold it for preinit_net() when initialising non-root netns.
To be consistent, let's call preinit_net() without pernet_ops_rwsem in
net_ns_init().
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions