kernel_optimize_test/net/rds
Hangyu Hua 74dc97dfb2 rds: memory leak in __rds_conn_create()
[ Upstream commit 5f9562ebe710c307adc5f666bf1a2162ee7977c0 ]

__rds_conn_create() did not release conn->c_path when loop_trans != 0 and
trans->t_prefer_loopback != 0 and is_outgoing == 0.

Fixes: aced3ce57cd3 ("RDS tcp loopback connection can hang")
Signed-off-by: Hangyu Hua <hbh25y@gmail.com>
Reviewed-by: Sharath Srinivasan <sharath.srinivasan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-12-22 09:30:54 +01:00
..
af_rds.c
bind.c
cong.c
connection.c rds: memory leak in __rds_conn_create() 2021-12-22 09:30:54 +01:00
ib_cm.c rds: stop using dmapool 2021-11-18 14:03:44 +01:00
ib_frmr.c net/rds: dma_map_sg is entitled to merge entries 2021-09-03 10:09:28 +02:00
ib_mr.h
ib_rdma.c
ib_recv.c rds: stop using dmapool 2021-11-18 14:03:44 +01:00
ib_ring.c
ib_send.c rds: stop using dmapool 2021-11-18 14:03:44 +01:00
ib_stats.c
ib_sysctl.c
ib.c rds: stop using dmapool 2021-11-18 14:03:44 +01:00
ib.h rds: stop using dmapool 2021-11-18 14:03:44 +01:00
info.c
info.h
Kconfig
loop.c
loop.h
Makefile
message.c net/rds: Fix a use after free in rds_message_map_pages 2021-04-14 08:42:09 +02:00
page.c
rdma_transport.c
rdma_transport.h
rdma.c net/rds: restrict iovecs length for RDS_CMSG_RDMA_ARGS 2021-02-17 11:02:30 +01:00
rds_single_path.h
rds.h
recv.c net: rds: fix memory leak in rds_recvmsg 2021-06-23 14:42:42 +02:00
send.c
stats.c
sysctl.c
tcp_connect.c
tcp_listen.c RDS tcp loopback connection can hang 2021-06-16 12:01:36 +02:00
tcp_recv.c
tcp_send.c
tcp_stats.c
tcp.c net/rds: correct socket tunable error in rds_tcp_tune() 2021-12-08 09:03:26 +01:00
tcp.h RDS tcp loopback connection can hang 2021-06-16 12:01:36 +02:00
threads.c
transport.c