提交 8d5d8a5f 编写于 作者: Q Qing Huang 提交者: Santosh Shilimkar

RDS: RDMA: start rdma listening after init

This prevents RDS from handling incoming rdma packets before RDS
completes initializing its recv/send components.
Signed-off-by: NQing Huang <qing.huang@oracle.com>
Signed-off-by: NSantosh Shilimkar <santosh.shilimkar@oracle.com>
上级 3e56c2f8
......@@ -206,18 +206,13 @@ static int rds_rdma_init(void)
{
int ret;
ret = rds_rdma_listen_init();
ret = rds_ib_init();
if (ret)
goto out;
ret = rds_ib_init();
ret = rds_rdma_listen_init();
if (ret)
goto err_ib_init;
goto out;
err_ib_init:
rds_rdma_listen_stop();
rds_ib_exit();
out:
return ret;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册