diff options
author | Ludvig Pärsson <ludvig.parsson@axis.com> | 2024-01-17 15:03:14 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-01-18 15:21:06 +0300 |
commit | f1172f3ee3a98754d95b968968920a7d03fdebcc (patch) | |
tree | e40db5b752fe300b634dc7d225fbd3c5974ba22d /tools | |
parent | dd2d40acdbb2b9e6bcddd5424b0e00c1760ecf26 (diff) | |
download | linux-f1172f3ee3a98754d95b968968920a7d03fdebcc.tar.xz |
ethtool: netlink: Add missing ethnl_ops_begin/complete
Accessing an ethernet device that is powered off or clock gated might
cause the CPU to hang. Add ethnl_ops_begin/complete in
ethnl_set_features() to protect against this.
Fixes: 0980bfcd6954 ("ethtool: set netdev features with FEATURES_SET request")
Signed-off-by: Ludvig Pärsson <ludvig.parsson@axis.com>
Link: https://lore.kernel.org/r/20240117-etht2-v2-1-1a96b6e8c650@axis.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions