linux-stable/net/tipc
Hangyu Hua 7bc9e7f70b 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 20:42:46 +02:00
..
addr.c
addr.h
bcast.c
bcast.h
bearer.c
bearer.h
core.c tipc: fix use-after-free in tipc_bcast_get_mode 2020-11-10 10:29:02 +01:00
core.h
discover.c
discover.h
eth_media.c
ib_media.c
Kconfig
link.c tipc: improve size validations for received domain records 2022-02-11 08:43:36 +01:00
link.h
Makefile
monitor.c tipc: improve size validations for received domain records 2022-02-11 08:43:36 +01:00
monitor.h
msg.c tipc: skb_linearize the head skb when reassembling msgs 2021-06-03 08:36:19 +02:00
msg.h
name_distr.c tipc: rate limit warning for received illegal binding update 2022-02-16 12:44:51 +01:00
name_distr.h
name_table.c
name_table.h
net.c
net.h
netlink.c
netlink.h
netlink_compat.c tipc: convert dest node's address to network order 2021-05-22 10:57:35 +02:00
node.c tipc: tipc clang warning 2020-01-27 14:46:27 +01:00
node.h
server.c
server.h
socket.c net: tipc: fix possible refcount leak in tipc_sk_create() 2022-07-21 20:42:46 +02:00
socket.h
subscr.c
subscr.h
sysctl.c tipc: set sysctl_tipc_rmem and named_timeout right range 2020-01-27 14:46:29 +01:00
udp_media.c net: ipv6_stub: use ip6_dst_lookup_flow instead of ip6_dst_lookup 2020-05-20 08:17:02 +02:00
udp_media.h