Exit krping on device removal to avoid endless hang situation.
MFC after: 1 week Sponsored by: Mellanox Technologies
This commit is contained in:
parent
177781564f
commit
87fb59a5cf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=331438
@ -301,6 +301,8 @@ static int krping_cma_event_handler(struct rdma_cm_id *cma_id,
|
||||
|
||||
case RDMA_CM_EVENT_DEVICE_REMOVAL:
|
||||
printk(KERN_ERR PFX "cma detected device removal!!!!\n");
|
||||
cb->state = ERROR;
|
||||
wake_up_interruptible(&cb->sem);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user