rds: RDS (tcp) hangs on sendto() to unresponding address
authorKa-Cheong Poon <ka-cheong.poon@oracle.com>
Mon, 8 Oct 2018 16:17:11 +0000 (09:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2018 05:19:52 +0000 (22:19 -0700)
commit9a4890bd6d6325a1c88564a20ab310b2d56f6094
treea376b6bb339c1c890ece381b247ba7b8f6336682
parent52b5d6f5dcf0e5201392f7d417148ccb537dbf6f
rds: RDS (tcp) hangs on sendto() to unresponding address

In rds_send_mprds_hash(), if the calculated hash value is non-zero and
the MPRDS connections are not yet up, it will wait.  But it should not
wait if the send is non-blocking.  In this case, it should just use the
base c_path for sending the message.

Signed-off-by: Ka-Cheong Poon <ka-cheong.poon@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/send.c