diff options
author | Ludvig Pärsson <ludvig.parsson@axis.com> | 2024-01-17 13:03:14 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-01-18 13:21:06 +0100 |
commit | f1172f3ee3a98754d95b968968920a7d03fdebcc (patch) | |
tree | e40db5b752fe300b634dc7d225fbd3c5974ba22d /samples/watch_queue | |
parent | dd2d40acdbb2b9e6bcddd5424b0e00c1760ecf26 (diff) |
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 'samples/watch_queue')
0 files changed, 0 insertions, 0 deletions