WSL2-Linux-Kernel/net/ethtool
Xin Long 138a13d8f5 ethtool: eeprom: fix null-deref on genl_info in dump
commit 9d9effca9d upstream.

The similar fix as commit 46cdedf2a0 ("ethtool: pse-pd: fix null-deref on
genl_info in dump") is also needed for ethtool eeprom.

Fixes: c781ff12a2 ("ethtool: Allow network drivers to dump arbitrary EEPROM data")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Link: https://lore.kernel.org/r/5575919a2efc74cd9ad64021880afc3805c54166.1666362167.git.lucien.xin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-11-03 23:59:14 +09: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
netlink.c
netlink.h
pause.c
phc_vclocks.c
privflags.c
rings.c
stats.c
strset.c
tsinfo.c
tunnels.c
wol.c