diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-01-06 09:33:55 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-01-06 15:56:18 +0300 |
commit | 7a54a5195b2a877a972ec21a5ca415c1fc2aec61 (patch) | |
tree | c90f07d1452bf03b1f6fd4b39c5894c05eb1fa7f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d772781964415c63759572b917e21c4f7ec08d9f (diff) | |
download | linux-7a54a5195b2a877a972ec21a5ca415c1fc2aec61.tar.xz |
devlink: update the code in netns move to latest helpers
devlink_pernet_pre_exit() is the only obvious place which takes
the instance lock without using the devl_ helpers. Update the code
and move the error print after releasing the reference
(having unlock and put together feels slightly idiomatic).
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions