diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-05-26 08:35:32 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-27 17:42:09 -0700 |
| commit | 2376586f85f972fefe701f095bb37dcfe7405d21 (patch) | |
| tree | c51c60d60ffe3dd06f64c0f5b679596d6e9db52f /scripts | |
| parent | a8d8bef6b45bf7cc0b1f6110c5cd8d0160a9bad7 (diff) | |
ethtool: eeprom: add missing ethnl_ops_begin() / _complete() during fallback
All ethtool driver op calls should be sandwiched between
ethnl_ops_begin() / ethnl_ops_complete(). In Netlink eeprom code,
if the paged access failed we fall back to old API, but we
first call _complete() and the fallback never does its own
ethnl_ops_begin(). Move the fallback into the _begin() / _complete()
section.
Fixes: 96d971e307cc ("ethtool: Add fallback to get_module_eeprom from netlink command")
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20260526153533.2779187-10-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
