Re: PATCH: (as279) Don't delete interfaces until all are unbound

From: Duncan Sands
Date: Thu May 13 2004 - 15:10:45 EST


Hi Alan,

> + /* Now that the interfaces are unbound, nobody should
> + * try to access them.
> + */

how is usbfs going to claim interfaces after this?

> + * Don't call this function unless you are bound to one of the interfaces
> + * on this device or you own the dev->serialize semaphore!

Owning dev->serialize won't stop an Oops if the interfaces are all NULL...

All the best,

Duncan.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/