RDS: TCP: make receive path use the rds_conn_path
The ->sk_user_data contains a pointer to the rds_conn_path for the socket. Use this consistently in the rds_tcp_data_ready callbacks to get the rds_conn_path for rds_recv_incoming. Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com> Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
ea3b1ea539
commit
2da43c4a1b
@@ -203,7 +203,7 @@ void rds_recv_worker(struct work_struct *work)
|
||||
int ret;
|
||||
|
||||
if (rds_conn_path_state(cp) == RDS_CONN_UP) {
|
||||
ret = cp->cp_conn->c_trans->recv(cp->cp_conn);
|
||||
ret = cp->cp_conn->c_trans->recv_path(cp);
|
||||
rdsdebug("conn %p ret %d\n", cp->cp_conn, ret);
|
||||
switch (ret) {
|
||||
case -EAGAIN:
|
||||
|
Reference in New Issue
Block a user