diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-06-04 17:29:10 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-09 10:13:06 -0700 |
| commit | f58a40d07be39823abf2fa1f73b6a839580404f0 (patch) | |
| tree | b4b4afe43215f2c97bd05a339579d3c27b9c691e /include/linux | |
| parent | 732fa5ced1cc82bbdae3d05e5b364c7b6ecf04c3 (diff) | |
net: ethtool: ioctl: concentrate the locking
Add another layer of helper functions to make upcoming locking
changes easier. Otherwise we'd need a pretty complex goto
structure. netdev instance lock is now taken slightly sooner
but that should not be an issue since rtnl_lock is already held,
anyway.
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-11-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
