diff options
author | Sowmini Varadhan <sowmini.varadhan@oracle.com> | 2016-06-30 16:11:16 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-01 16:45:17 -0400 |
commit | b04e8554f7637999af8f54cca4dcfcf49f2ae7c8 (patch) | |
tree | ff29f60508fe2d0ee6b10b7f0c66d317288b9308 /net/rds/ib_cm.c | |
parent | 2da43c4a1b517d02e71d9611a2242273e7d399ba (diff) | |
download | lwn-b04e8554f7637999af8f54cca4dcfcf49f2ae7c8.tar.gz lwn-b04e8554f7637999af8f54cca4dcfcf49f2ae7c8.zip |
RDS: TCP: Hooks to set up a single connection path
This patch adds ->conn_path_connect callbacks in the rds_transport
that are used to set up a single connection path.
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>
Diffstat (limited to 'net/rds/ib_cm.c')
-rw-r--r-- | net/rds/ib_cm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/rds/ib_cm.c b/net/rds/ib_cm.c index e34ea0b5c16a..5b2ab95afa07 100644 --- a/net/rds/ib_cm.c +++ b/net/rds/ib_cm.c @@ -685,8 +685,9 @@ out: return ret; } -int rds_ib_conn_connect(struct rds_connection *conn) +int rds_ib_conn_path_connect(struct rds_conn_path *cp) { + struct rds_connection *conn = cp->cp_conn; struct rds_ib_connection *ic = conn->c_transport_data; struct sockaddr_in src, dest; int ret; |