projects
/
GitHub
/
moto-9609
/
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:
97540bb
)
rds_rdma: log the connection reject message
author
Steve Wise
<swise@opengridcomputing.com>
Wed, 26 Oct 2016 19:36:48 +0000
(12:36 -0700)
committer
Doug Ledford
<dledford@redhat.com>
Wed, 14 Dec 2016 16:38:28 +0000
(11:38 -0500)
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.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 345f09059e9f06ae7e108ec9e0d07cc15b44a90e..d5f3117671575f84550c4bee7b4aef7753bd9f59 100644
(file)
--- a/
net/rds/rdma_transport.c
+++ b/
net/rds/rdma_transport.c
@@
-100,11
+100,14
@@
int rds_rdma_cm_event_handler(struct rdma_cm_id *cm_id,
trans->cm_connect_complete(conn, event);
break;
+ case RDMA_CM_EVENT_REJECTED:
+ rdsdebug("Connection rejected: %s\n",
+ rdma_reject_msg(cm_id, event->status));
+ /* FALLTHROUGH */
case RDMA_CM_EVENT_ADDR_ERROR:
case RDMA_CM_EVENT_ROUTE_ERROR:
case RDMA_CM_EVENT_CONNECT_ERROR:
case RDMA_CM_EVENT_UNREACHABLE:
- case RDMA_CM_EVENT_REJECTED:
case RDMA_CM_EVENT_DEVICE_REMOVAL:
case RDMA_CM_EVENT_ADDR_CHANGE:
if (conn)