Re: [PATCH net] rds: MP-RDS may use an invalid c_path

2018-04-11 Thread David Miller
From: Ka-Cheong Poon Date: Wed, 11 Apr 2018 00:57:25 -0700 > rds_sendmsg() calls rds_send_mprds_hash() to find a c_path to use to > send a message. Suppose the RDS connection is not yet up. In > rds_send_mprds_hash(), it does > > if (conn->c_npaths == 0) > wait_event_interr

Re: [PATCH net] rds: MP-RDS may use an invalid c_path

2018-04-11 Thread santosh.shilim...@oracle.com
On 4/11/18 12:57 AM, Ka-Cheong Poon wrote: rds_sendmsg() calls rds_send_mprds_hash() to find a c_path to use to send a message. Suppose the RDS connection is not yet up. In rds_send_mprds_hash(), it does if (conn->c_npaths == 0) wait_event_interruptible(conn->c_hs_waitq

[PATCH net] rds: MP-RDS may use an invalid c_path

2018-04-11 Thread Ka-Cheong Poon
rds_sendmsg() calls rds_send_mprds_hash() to find a c_path to use to send a message. Suppose the RDS connection is not yet up. In rds_send_mprds_hash(), it does if (conn->c_npaths == 0) wait_event_interruptible(conn->c_hs_waitq, (c