diff options
author | Hangyu Hua <hbh25y@gmail.com> | 2022-06-29 14:34:18 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-07-21 20:59:25 +0200 |
commit | 4919d82f7041157a421ca9bf39a78551d5ad8a1b (patch) | |
tree | 2522e7de527adb734e573d22ada1f4e3a85e4b70 /drivers/nfc | |
parent | 70d8aee1de6e1e332942d21b7ec0ef495e26934d (diff) |
net: tipc: fix possible refcount leak in tipc_sk_create()
[ Upstream commit 00aff3590fc0a73bddd3b743863c14e76fd35c0c ]
Free sk in case tipc_sk_insert() fails.
Signed-off-by: Hangyu Hua <hbh25y@gmail.com>
Reviewed-by: Tung Nguyen <tung.q.nguyen@dektech.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/nfc')
0 files changed, 0 insertions, 0 deletions