projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e56c2f
)
RDS: RDMA: start rdma listening after init
author
Qing Huang
<qing.huang@oracle.com>
Mon, 4 Jul 2016 23:29:13 +0000
(16:29 -0700)
committer
Santosh Shilimkar
<santosh.shilimkar@oracle.com>
Mon, 2 Jan 2017 22:02:45 +0000
(14:02 -0800)
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>
net/rds/rdma_transport.c
patch
|
blob
|
blame
|
history
diff --git
a/net/rds/rdma_transport.c
b/net/rds/rdma_transport.c
index d5f3117671575f84550c4bee7b4aef7753bd9f59..fc59821f0a27bd2a529c17a36c5b06a1d5d91a8e 100644
(file)
--- a/
net/rds/rdma_transport.c
+++ b/
net/rds/rdma_transport.c
@@
-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;
}