If one thread is waiting in a call to ibwait() on an interface's ud, and another thread calls ibonl() to put the same ud offline, what happens to the waiter?
The wait condition might be something like CMPL | ERR | TIMO, or it might be LACS | TIMO, or it might simply be LACS (depending on the application's needs).
Depending on the driver version and depending on the wait condition ibstop() might be safe to perform before ibonl(), but depending on the wait condition ibstop() might not even be meaningful in the first place. The application might find a need to close the device. Will waiting threads get a return from ibwait() or is there a possibility of hang (or worse)?