diff options
| author | Jiri Pirko <[email protected]> | 2022-08-25 13:29:23 +0200 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-08-26 17:14:15 -0700 |
| commit | 6005a8aecee8afeba826295321a612ab485c230e (patch) | |
| tree | 33bee99ef7d0a8cde76e8d689e11bcfe60956ac4 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | de9d555cb8d4286a951b5b9bc824a12c739693ec (diff) | |
net: devlink: add RNLT lock assertion to devlink_compat_switch_id_get()
Similar to devlink_compat_phys_port_name_get(), make sure that
devlink_compat_switch_id_get() is called with RTNL lock held. Comment
already says so, so put this in code as well.
Signed-off-by: Jiri Pirko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions