diff options
author | Daniel Golle <daniel@makrotopia.org> | 2023-05-09 04:20:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-05-10 11:23:53 +0300 |
commit | 7c83e28f10830aa5105c25eaabe890e3adac36aa (patch) | |
tree | 0c3674baae71025515eed358e484f99da984b489 /Documentation/networking/bonding.rst | |
parent | 582dbb2cc1a0a7427840f5b1e3c65608e511b061 (diff) | |
download | linux-7c83e28f10830aa5105c25eaabe890e3adac36aa.tar.xz |
net: ethernet: mtk_eth_soc: fix NULL pointer dereference
Check for NULL pointer to avoid kernel crashing in case of missing WO
firmware in case only a single WEDv2 device has been initialized, e.g. on
MT7981 which can connect just one wireless frontend.
Fixes: 86ce0d09e424 ("net: ethernet: mtk_eth_soc: use WO firmware for MT7981")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/bonding.rst')
0 files changed, 0 insertions, 0 deletions