acrn-kernel/net/ethtool
Ludvig Pärsson f2cc7d90a8 ethtool: netlink: Add missing ethnl_ops_begin/complete
[ Upstream commit f1172f3ee3a98754d95b968968920a7d03fdebcc ]

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 15:27:51 -08:00
..
Makefile
bitset.c
bitset.h
cabletest.c
channels.c
coalesce.c
common.c
common.h
debug.c
eee.c
eeprom.c
features.c
fec.c
ioctl.c
linkinfo.c
linkmodes.c
linkstate.c
module.c
netlink.c
netlink.h
pause.c
phc_vclocks.c
privflags.c
pse-pd.c
rings.c
stats.c
strset.c
tsinfo.c
tunnels.c
wol.c