[brussels-dev] Re: [networking-discuss] Brussels high-level design document

Garrett D'Amore garrett at damore.org
Tue Jun 26 09:39:30 PDT 2007


James Carlson wrote:
> Sowmini.Varadhan at Sun.COM 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



More information about the brussels-dev mailing list