diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2018-05-29 14:56:17 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-06-01 18:16:23 +0300 |
commit | 671a6cc2ba05aa97ee5afe3479f1bdba2436970d (patch) | |
tree | 145726234d5a66bed5a3e5382ae0ac79d5554965 /drivers/infiniband | |
parent | 2f5059a7af144426086555b62dd268d8060fe6d3 (diff) | |
download | linux-671a6cc2ba05aa97ee5afe3479f1bdba2436970d.tar.xz |
RDMA/cma: Ignore unknown event
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>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/core/cma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c index 441555a35525..6813ee717a38 100644 --- 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; |