diff options
author | Jakub Kicinski <kuba@kernel.org> | 2025-01-14 19:53:11 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-01-15 19:13:33 -0800 |
commit | 2628f4958cd4a8be2f14b611c67ef9766c5ee564 (patch) | |
tree | 004c79cd2cd2ffb9fc1d91f3f98b793ba4f31eb5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5fda3f35349b6b7f22f5f5095a3821261d515075 (diff) |
net: add helpers for lookup and walking netdevs under netdev_lock()
Add helpers for accessing netdevs under netdev_lock().
There's some careful handling needed to find the device and lock it
safely, without it getting unregistered, and without taking rtnl_lock
(the latter being the whole point of the new locking, after all).
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250115035319.559603-4-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions