diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-06-04 17:29:07 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-09 10:13:05 -0700 |
| commit | 0c334c21f5a599b593a3495031cfcefb9fc47b96 (patch) | |
| tree | e6e6d7b234249a0bb432c99232557eb034e571a2 /include/linux | |
| parent | f16013fde46d38e1a79216976445e1cd79922a72 (diff) | |
| download | lwn-0c334c21f5a599b593a3495031cfcefb9fc47b96.tar.gz lwn-0c334c21f5a599b593a3495031cfcefb9fc47b96.zip | |
net: ethtool: optionally skip rtnl_lock in ethnl_tsinfo_dumpit()
ethnl_tsinfo_dumpit() iterates netdevs and per-netdev PHY topology
calling ops->get_ts_info(). Switch to the "ops compat locking"
helpers which take either rtnl_lock or instance lock, depending
on what the device needs.
Reviewed-by: Eric Dumazet <edumazet@google.com>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20260605002912.3456868-8-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
