MFC r296934:
Fix crash in krping when run as a client due to NULL pointer access. Initialize pointer in question which is used only when fast registers mode is selected. Sponsored by: Mellanox Technologies
This commit is contained in:
parent
1c1fa6f80e
commit
9706ffd556
@ -259,6 +259,7 @@ static int krping_cma_event_handler(struct rdma_cm_id *cma_id,
|
||||
|
||||
case RDMA_CM_EVENT_ROUTE_RESOLVED:
|
||||
cb->state = ROUTE_RESOLVED;
|
||||
cb->child_cm_id = cma_id;
|
||||
wake_up_interruptible(&cb->sem);
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user