mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
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>
This commit is contained in:
parent
2f5059a7af
commit
671a6cc2ba
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user