linux/net/tipc
Hangyu Hua efa78f2ae3 net: tipc: fix possible refcount leak in tipc_sk_create()
[ Upstream commit 00aff3590f ]

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>
2022-07-21 21:20:14 +02:00
..
addr.c
addr.h
bcast.c net: tipc: fix FB_MTU eat two pages 2021-07-14 16:56:32 +02:00
bcast.h
bearer.c tipc: check attribute length for bearer name 2022-06-14 18:32:37 +02:00
bearer.h
core.c tipc: fix use-after-free Read in tipc_named_reinit 2022-06-29 08:59:47 +02:00
core.h tipc: simplify the finalize work queue 2022-06-29 08:59:47 +02:00
crypto.c tipc: fix a bit overflow in tipc_crypto_key_rcv() 2022-03-08 19:09:29 +01:00
crypto.h
diag.c
discover.c tipc: simplify the finalize work queue 2022-06-29 08:59:47 +02:00
discover.h
eth_media.c
group.c
group.h
ib_media.c
Kconfig
link.c tipc: simplify the finalize work queue 2022-06-29 08:59:47 +02:00
link.h tipc: simplify the finalize work queue 2022-06-29 08:59:47 +02:00
Makefile
monitor.c tipc: improve size validations for received domain records 2022-02-11 09:09:03 +01:00
monitor.h
msg.c net: tipc: fix FB_MTU eat two pages 2021-07-14 16:56:32 +02:00
msg.h net: tipc: fix FB_MTU eat two pages 2021-07-14 16:56:32 +02:00
name_distr.c tipc: rate limit warning for received illegal binding update 2022-02-16 12:54:26 +01:00
name_distr.h
name_table.c tipc: Fix end of loop tests for list_for_each_entry() 2022-03-02 11:42:49 +01:00
name_table.h
net.c tipc: simplify the finalize work queue 2022-06-29 08:59:47 +02:00
net.h
netlink_compat.c
netlink.c
netlink.h
node.c tipc: move bc link creation back to tipc_node_create 2022-07-07 17:52:18 +02:00
node.h
socket.c net: tipc: fix possible refcount leak in tipc_sk_create() 2022-07-21 21:20:14 +02:00
socket.h
subscr.c
subscr.h
sysctl.c
topsrv.c
topsrv.h
trace.c
trace.h
udp_media.c
udp_media.h