]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rds: RDS (tcp) hangs on sendto() to unresponding address
authorKa-Cheong Poon <ka-cheong.poon@oracle.com>
Tue, 2 Oct 2018 14:50:02 +0000 (07:50 -0700)
committerBrian Maly <brian.maly@oracle.com>
Thu, 18 Oct 2018 19:50:47 +0000 (15:50 -0400)
commit4d8376fac652927fcc94ca88db134ce7822c03c1
tree228a79f895856c61fad72e02a8a0d192b7ee2b36
parentee06145bd8375dfeae0df768794318dc96ba2010
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.

Orabug: 28762608

Signed-off-by: Ka-Cheong Poon <ka-cheong.poon@oracle.com>
Reviewed-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
net/rds/send.c