Skip to content
Snippets Groups Projects
Commit c8d55554 authored by Davide Caratti's avatar Davide Caratti
Browse files

ethtool: eeprom: fix null-deref on genl_info in dump

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2164865


Upstream Status: net.git commit 9d9effca

commit 9d9effca
Author: Xin Long <lucien.xin@gmail.com>
Date:   Fri Oct 21 10:22:47 2022 -0400

    ethtool: eeprom: fix null-deref on genl_info in dump

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

    Fixes: c781ff12 ("ethtool: Allow network drivers to dump arbitrary EEPROM data")
Signed-off-by: default avatarXin Long <lucien.xin@gmail.com>
    Link: https://lore.kernel.org/r/5575919a2efc74cd9ad64021880afc3805c54166.1666362167.git.lucien.xin@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>

Signed-off-by: default avatarDavide Caratti <dcaratti@redhat.com>
parent 0a70e174
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment