kernel-fxtec-pro1x/drivers/net/ethernet/hisilicon
Dinghao Liu 743f4a03d4 net: hns: Fix memleak in hns_nic_dev_probe
[ Upstream commit 100e3345c6e719d2291e1efd5de311cc24bb9c0b ]

hns_nic_dev_probe allocates ndev, but not free it on
two error handling paths, which may lead to memleak.

Fixes: 63434888aa ("net: hns: net: hns: enet adds support of acpi")
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-09-09 19:04:25 +02:00
..
hns net: hns: Fix memleak in hns_nic_dev_probe 2020-09-09 19:04:25 +02:00
hns3 net: hns3: fix use-after-free when doing self test 2020-07-16 08:17:24 +02:00
hip04_eth.c net: hisilicon: Fix a BUG trigered by wrong bytes_compl 2019-12-31 16:34:38 +01:00
hisi_femac.c
hix5hd2_gmac.c net: hisilicon: Fix signedness bug in hix5hd2_dev_probe() 2020-01-27 14:51:14 +01:00
hns_mdio.c net: hisilicon: Fix usage of uninitialized variable in function mdio_sc_cfg_reg_write() 2019-10-29 09:19:35 +01:00
Kconfig
Makefile