Am Donnerstag, 29. März 2007 23:29 schrieb Greg KH: > On Thu, Mar 29, 2007 at 10:15:00AM +0200, Oliver Neukum wrote: > > Hi, > > > > as recently discussed on lkml the tty layer does call close() if > > an open() fails. Usb-serial does not handle this correctly. It does > > handle the first open() failing by checking the open count, but if > > a second open() fails, the close() will free the resources associated > > with the first open. > > Why can't we just fix the tty layer instead?
Do you want to audit every other serial driver to make sure cleanup isn't deferred to close? Regards Oliver ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel