Hangyu Hua 1ed173726c 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:19:01 +01:00
..
2018-08-01 09:32:35 -07:00
2019-05-02 09:59:00 +02:00
2018-09-23 12:25:15 -07:00
2018-06-12 16:19:22 -07:00
2018-08-31 23:09:53 -07:00
2018-08-01 09:32:35 -07:00
2018-07-23 21:17:44 -07:00
2019-07-10 09:53:46 +02:00
2018-07-23 21:17:44 -07:00
2021-06-16 11:54:57 +02:00