philippe.houdoin@xxxxxxxxx wrote: > Modified: > haiku/trunk/src/add-ons/kernel/network/devices/ethernet/ethernet. > cpp > haiku/trunk/src/add-ons/kernel/network/stack/device_interfaces.cpp > Log: > Report the actual error when read() or write() a network device > failed. > This enable to actually detect and handle device removal (USB...). Nice catch! This seems to be a USB specific error handling, though - if a file descriptor is actually disconnected, it returns B_FILE_ERROR. Maybe the ethernet device driver should return B_DEVICE_NOT_FOUND in this case as well? Bye, Axel.