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: Qing Huang <qing.huang@oracle.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
This commit is contained in:
Родитель
3e56c2f856
Коммит
8d5d8a5fd7
|
@ -206,18 +206,13 @@ static int rds_rdma_init(void)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
ret = rds_rdma_listen_init();
|
ret = rds_ib_init();
|
||||||
if (ret)
|
if (ret)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
ret = rds_ib_init();
|
ret = rds_rdma_listen_init();
|
||||||
if (ret)
|
if (ret)
|
||||||
goto err_ib_init;
|
rds_ib_exit();
|
||||||
|
|
||||||
goto out;
|
|
||||||
|
|
||||||
err_ib_init:
|
|
||||||
rds_rdma_listen_stop();
|
|
||||||
out:
|
out:
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче