aboutsummaryrefslogtreecommitdiffstats
path: root/net/tls/tls_main.c
diff options
context:
space:
mode:
authorDaniel Golle <[email protected]>2023-05-09 01:20:06 +0000
committerDavid S. Miller <[email protected]>2023-05-10 08:23:53 +0000
commit7c83e28f10830aa5105c25eaabe890e3adac36aa (patch)
tree0c3674baae71025515eed358e484f99da984b489 /net/tls/tls_main.c
parentnet: phy: bcm7xx: Correct read from expansion register (diff)
downloadkernel-7c83e28f10830aa5105c25eaabe890e3adac36aa.tar.gz
kernel-7c83e28f10830aa5105c25eaabe890e3adac36aa.zip
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 <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tls/tls_main.c')
0 files changed, 0 insertions, 0 deletions