On Saturday 12 February 2005 1:15 pm, Oliver Neukum wrote:
> 
> I would like to ask your oppinion. Cdc-acm needs two interfaces to
> function. If either of the two is disconnected the driver must cease
> operating. Should it then disclaim the other interface? IMHO it
> shouldn't. Under ordinary conditions both will be disconnected
> in a row and if somebody is playing around with ioctls he'll get what
> he asked for. Comments?

The CDC Ethernet code in usbnet gets rid of both at the same time.
Just like it claims both at the same time ... the state transitions
are between "function usable" and "function unusable".  There should
be no half-way points.

- Dave


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to