WSL2-Linux-Kernel/drivers/isdn
Wang ShaoBo 596230471d mISDN: fix misuse of put_device() in mISDN_register_device()
[ Upstream commit 2d25107e11 ]

We should not release reference by put_device() before calling device_initialize().

Fixes: e7d1d4d9ac ("mISDN: fix possible memory leak in mISDN_register_device()")
Signed-off-by: Wang ShaoBo <bobo.shaobowang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-11-26 09:24:39 +01:00
..
capi isdn: cpai: check ctr->cnr to avoid array index out of bound 2021-10-08 16:52:58 -07:00
hardware isdn: mISDN: netjet: fix wrong check of device registration 2022-11-10 18:15:29 +01:00
mISDN mISDN: fix misuse of put_device() in mISDN_register_device() 2022-11-26 09:24:39 +01:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile isdn: capi: dead code removal 2019-12-11 09:12:38 +01:00