mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-20 19:23:40 +00:00
net/rds: fix WARNING in rds_conn_connect_if_down
[ Upstream commitc055fc00c0] If connection isn't established yet, get_mr() will fail, trigger connection after get_mr(). Fixes:584a8279a4("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>
This commit is contained in:
parent
f0363af961
commit
b562ebe21e
2 changed files with 4 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue