Edward Adam Davis 9dfc15a10d net/rds: fix WARNING in rds_conn_connect_if_down
[ Upstream commit c055fc00c07be1f0df7375ab0036cebd1106ed38 ]

If connection isn't established yet, get_mr() will fail, trigger connection after
get_mr().

Fixes: 584a8279a44a ("RDS: RDMA: return appropriate error on rdma map failures")
Reported-and-tested-by: syzbot+d4faee732755bba9838e@syzkaller.appspotmail.com
Signed-off-by: Edward Adam Davis <eadavis@qq.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-15 10:48:15 -04:00
..
2020-09-18 14:12:43 -07:00
2021-11-18 14:03:44 +01:00
2021-11-18 14:03:44 +01:00
2021-11-18 14:03:44 +01:00
2021-11-18 14:03:44 +01:00
2021-06-16 12:01:36 +02:00