linux-stable/drivers/net/hamradio
Hangyu Hua 0690c3943e yam: fix a memory leak in yam_siocdevprivate()
[ Upstream commit 29eb315427 ]

ym needs to be free when ym->cmd != SIOCYAMSMCS.

Fixes: 0781168e23 ("yam: fix a missing-check bug")
Signed-off-by: Hangyu Hua <hbh25y@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-02-01 17:27:13 +01:00
..
6pack.c net: 6pack: Fix tx timeout and slot time 2021-09-16 12:52:06 -07:00
baycom_epp.c hamradio: baycom_epp: fix build for UML 2021-10-18 12:57:42 +01:00
baycom_par.c hamradio: use ndo_siocdevprivate 2021-07-27 20:11:44 +01:00
baycom_ser_fdx.c hamradio: use ndo_siocdevprivate 2021-07-27 20:11:44 +01:00
baycom_ser_hdx.c hamradio: use ndo_siocdevprivate 2021-07-27 20:11:44 +01:00
bpqether.c hamradio: use ndo_siocdevprivate 2021-07-27 20:11:44 +01:00
dmascc.c dmascc: use proper 'virt_to_bus()' rather than casting to 'int' 2021-09-19 10:49:42 -07:00
hdlcdrv.c hamradio: use ndo_siocdevprivate 2021-07-27 20:11:44 +01:00
Kconfig dmascc: add CONFIG_VIRT_TO_BUS dependency 2021-09-28 13:12:07 +01:00
Makefile
mkiss.c hamradio: improve the incomplete fix to avoid NPD 2021-12-29 12:29:03 +01:00
scc.c hamradio: use ndo_siocdevprivate 2021-07-27 20:11:44 +01:00
yam.c yam: fix a memory leak in yam_siocdevprivate() 2022-02-01 17:27:13 +01:00
z8530.h