linux/drivers/net/ethernet/wangxun
Jiawen Wu 8ba2c45966 net: wangxun: fix kernel panic due to null pointer
When the device uses a custom subsystem vendor ID, the function
wx_sw_init() returns before the memory of 'wx->mac_table' is allocated.
The null pointer will causes the kernel panic.

Fixes: 79625f45ca ("net: wangxun: Move MAC address handling to libwx")
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-11-19 19:43:54 +00:00
..
libwx net: wangxun: fix kernel panic due to null pointer 2023-11-19 19:43:54 +00:00
ngbe net: wangxun: fix kernel panic due to null pointer 2023-11-19 19:43:54 +00:00
txgbe net: wangxun: fix kernel panic due to null pointer 2023-11-19 19:43:54 +00:00
Kconfig net: txgbe: support copper NIC with external PHY 2023-08-25 07:42:59 +01:00
Makefile net: txgbe: Store PCI info 2022-10-28 11:25:53 +01:00