projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f5059a
)
RDMA/cma: Ignore unknown event
author
Leon Romanovsky
<leonro@mellanox.com>
Tue, 29 May 2018 11:56:17 +0000
(14:56 +0300)
committer
Doug Ledford
<dledford@redhat.com>
Fri, 1 Jun 2018 15:16:23 +0000
(11:16 -0400)
There is no need to bring down the whole machine, just because unknown
event was received. It is better to ignore it silently.
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cma.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/core/cma.c
b/drivers/infiniband/core/cma.c
index
441555a
..
6813ee7
100644
(file)
--- a/
drivers/infiniband/core/cma.c
+++ b/
drivers/infiniband/core/cma.c
@@
-2130,7
+2130,7
@@
static int cma_iw_handler(struct iw_cm_id *iw_id, struct iw_cm_event *iw_event)
event.param.conn.responder_resources = iw_event->ord;
break;
default:
-
BUG_ON(1)
;
+
goto out
;
}
event.status = iw_event->status;