linux-stable/net/ethtool
Ludvig Pärsson 3732db294e ethtool: netlink: Add missing ethnl_ops_begin/complete
[ Upstream commit f1172f3ee3 ]

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: 0980bfcd69 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25 14:52:54 -08:00
..
bitset.c
bitset.h
cabletest.c
channels.c
coalesce.c
common.c
common.h
debug.c
eee.c
eeprom.c ethtool: eeprom: fix null-deref on genl_info in dump 2022-11-03 23:59:14 +09:00
features.c ethtool: netlink: Add missing ethnl_ops_begin/complete 2024-01-25 14:52:54 -08:00
fec.c
ioctl.c ethtool: Fix uninitialized number of lanes 2023-05-17 11:50:18 +02:00
linkinfo.c
linkmodes.c ethtool: reset #lanes when lanes is omitted 2023-04-13 16:48:20 +02:00
linkstate.c
Makefile
netlink.c ethtool: do not perform operations on net devices being unregistered 2021-12-14 10:57:09 +01:00
netlink.h
pause.c
phc_vclocks.c
privflags.c
rings.c
stats.c
strset.c
tsinfo.c
tunnels.c
wol.c