IB: fix race in device_create