kernel-fxtec-pro1x/drivers/net/hamradio
Wang Hai 2c75b5c33d yam: fix possible memory leak in yam_init_driver
[ Upstream commit 98749b7188affbf2900c2aab704a8853901d1139 ]

If register_netdev(dev) fails, free_netdev(dev) needs
to be called, otherwise a memory leak will occur.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-25 15:32:51 +02:00
..
6pack.c
baycom_epp.c
baycom_par.c
baycom_ser_fdx.c
baycom_ser_hdx.c
bpqether.c
dmascc.c
hdlcdrv.c
Kconfig
Makefile
mkiss.c
scc.c
yam.c
z8530.h