diff options
author | Wang ShaoBo <bobo.shaobowang@huawei.com> | 2022-11-10 14:38:23 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-11-14 13:43:13 +0300 |
commit | 2d25107e111a85c56f601a5470f1780ec054e6ac (patch) | |
tree | 4a2157ef3a4afbc7e85d523dda017028b3b6054d /drivers/net/macvlan.c | |
parent | 8979f428a4afc215e390006e5ea19fd4e22c7ca9 (diff) | |
download | linux-2d25107e111a85c56f601a5470f1780ec054e6ac.tar.xz |
mISDN: fix misuse of put_device() in mISDN_register_device()
We should not release reference by put_device() before calling device_initialize().
Fixes: e7d1d4d9ac0d ("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>
Diffstat (limited to 'drivers/net/macvlan.c')
0 files changed, 0 insertions, 0 deletions