1
0
Fork 0

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>
hifive-unleashed-5.1
Leon Romanovsky 2018-05-29 14:56:17 +03:00 committed by Doug Ledford
parent 2f5059a7af
commit 671a6cc2ba
1 changed files with 1 additions and 1 deletions

View File

@ -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;