summaryrefslogtreecommitdiff
path: root/net/rds/threads.c
diff options
context:
space:
mode:
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>2018-10-13 15:34:42 +0300
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>2019-02-05 01:59:11 +0300
commitcdc306a5c9cd3607db5d018c6320cdd923c04373 (patch)
tree6ec169ca5d13274468cdf13c17265a06ebe44cf3 /net/rds/threads.c
parentcc7335786f7278d66bdcf96d3d411edfcb01be51 (diff)
downloadlinux-cdc306a5c9cd3607db5d018c6320cdd923c04373.tar.xz
rds: make v3.1 as compat version
Mark RDSv3.1 as compat version and add v4.1 version macro's. Subsequent patches enable TOS(Type of Service) feature which is tied with v4.1 for RDMA transport. Reviewed-by: Sowmini Varadhan <sowmini.varadhan@oracle.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com> [yanjun.zhu@oracle.com: Adapted original patch with ipv6 changes] Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Diffstat (limited to 'net/rds/threads.c')
-rw-r--r--net/rds/threads.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rds/threads.c b/net/rds/threads.c
index e64f9e4c3cda..32dc50f0a303 100644
--- a/net/rds/threads.c
+++ b/net/rds/threads.c
@@ -93,6 +93,7 @@ void rds_connect_path_complete(struct rds_conn_path *cp, int curr)
queue_delayed_work(rds_wq, &cp->cp_recv_w, 0);
}
rcu_read_unlock();
+ cp->cp_conn->c_proposed_version = RDS_PROTOCOL_VERSION;
}
EXPORT_SYMBOL_GPL(rds_connect_path_complete);