Hi Cathy,

> But I'd rather not holding smac_mutex when calling mac_open(). What you 
> should do is to hold smac_mutex and then "goto done" when mac_open() fails.

I've updated the webrev. I had thought about this and I thought it was only 
consequent to also hold the lock when calling mac_open as it was also helt when 
calling mac_close.

At any rate, This way might save a deadlock in future.

http://cr.opensolaris.org/~nigoroll/4289_softmac_create_task__mutex_exit_on_unhelt_mutex/
 


TODO:

- need at least positive review
- need a sponsor

Thanks,

Nils
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to