diff options
author | Sowmini Varadhan <sowmini.varadhan@oracle.com> | 2016-06-13 18:44:36 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-15 08:50:43 +0200 |
commit | 45997e9e2e01d76607d70461414f66f51487bfe5 (patch) | |
tree | babde657760693e405268173be83adf09b592309 /net/rds/rds.h | |
parent | RDS: Extract rds_conn_path from i_conn_path in rds_send_drop_to() for MP-capa... (diff) | |
download | linux-45997e9e2e01d76607d70461414f66f51487bfe5.tar.xz linux-45997e9e2e01d76607d70461414f66f51487bfe5.zip |
RDS: Make rds_send_pong() take a rds_conn_path argument
This commit allows rds_send_pong() callers to send back
the rds pong message on some path other than c_path[0] by
passing in a struct rds_conn_path * argument. It also
removes the last dependency on the #defines in rds_single.h
from send.c
Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/rds.h')
-rw-r--r-- | net/rds/rds.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/rds.h b/net/rds/rds.h index b6072eb05fb6..e31515195526 100644 --- a/net/rds/rds.h +++ b/net/rds/rds.h @@ -790,7 +790,7 @@ void rds_send_drop_acked(struct rds_connection *conn, u64 ack, is_acked_func is_acked); void rds_send_path_drop_acked(struct rds_conn_path *cp, u64 ack, is_acked_func is_acked); -int rds_send_pong(struct rds_connection *conn, __be16 dport); +int rds_send_pong(struct rds_conn_path *cp, __be16 dport); /* rdma.c */ void rds_rdma_unuse(struct rds_sock *rs, u32 r_key, int force); |