James Carlson wrote:
[EMAIL PROTECTED] writes:
We could fail the operation, but the question of finding the right
error code to be returned by the SETPROP ioctl remains: attempts
to modunload a used module seem to return EBUSY- we could return that
back to dladm and then have dladm react appropriately.

Sure; if the operation can't do what the user asked because the
resource is "busy," then that's a fair answer.


There is also EAGAIN, which is used when a resource is contended... such as a lock, and a subsequent attempt might succeed.

   -- Garrett
_______________________________________________
driver-discuss mailing list
driver-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to