diff options
author | Sowmini Varadhan <sowmini.varadhan@oracle.com> | 2016-06-13 19:44:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-15 09:50:43 +0300 |
commit | 45997e9e2e01d76607d70461414f66f51487bfe5 (patch) | |
tree | babde657760693e405268173be83adf09b592309 /net/rds/rds.h | |
parent | 01ff34ed44a48ed0ae875291b4b6b7dc9ebeea69 (diff) | |
download | linux-45997e9e2e01d76607d70461414f66f51487bfe5.tar.xz |
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); |