]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc75c61e91de5f6c663966a6b6eced3855fb6b240
treea376b6bb339c1c890ece381b247ba7b8f6336682
parent549bf003776e3d2f587455a7ac5a094534b27f40
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