diff options
author | Jakub Kicinski <[email protected]> | 2022-10-19 15:35:51 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-10-21 13:18:05 +0100 |
commit | 46cdedf2a0fa20a99ca8be40bccde7487e13b77a (patch) | |
tree | 5e361a52619c0adedfae96200ed879dccdf46802 /lib/mpi/mpi-sub-ui.c | |
parent | e840d8f4a1b323973052a1af5ad4edafcde8ae3d (diff) |
ethtool: pse-pd: fix null-deref on genl_info in dump
ethnl_default_dump_one() passes NULL as info.
It's correct not to set extack during dump, as we should just
silently skip interfaces which can't provide the information.
Reported-by: [email protected]
Fixes: 18ff0bcda6d1 ("ethtool: add interface to interact with Ethernet Power Equipment")
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Oleksij Rempel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions