diff options
author | Xin Long <lucien.xin@gmail.com> | 2022-10-21 10:22:47 -0400 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-10-24 19:08:07 -0700 |
commit | 9d9effca9d7d7cf6341182a7c5cabcbd6fa28063 (patch) | |
tree | b38d018645146838a11a8a4f07356898225e3916 /lib/test_linear_ranges.c | |
parent | 337a0a0b63f1c30195733eaacf39e4310a592a68 (diff) |
ethtool: eeprom: fix null-deref on genl_info in dump
The similar fix as commit 46cdedf2a0fa ("ethtool: pse-pd: fix null-deref on
genl_info in dump") is also needed for ethtool eeprom.
Fixes: c781ff12a2f3 ("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>
Diffstat (limited to 'lib/test_linear_ranges.c')
0 files changed, 0 insertions, 0 deletions