Re: [linux-usb-devel] [PATCH]fix race between probe and open indabusb

2003-07-16 Thread Oliver Neukum
Am Mittwoch, 16. Juli 2003 22:07 schrieb Alan Stern: Oliver: Along with all these races between probe and open that you've been fixing recently, have you considered the race between disconnect and open? I added code to handle that in usb-skeleton.c a while ago, but I didn't look at any

Re: [linux-usb-devel] [PATCH]fix race between probe and open indabusb

2003-07-16 Thread Alan Stern
On Wed, 16 Jul 2003, Oliver Neukum wrote: Also, races with disconnect are not confined to open. Really? I thought that open was special because it was the only place that the usage count could be increased. Then there are a couple of drivers who can be killed by ENOMEM in the wrong moment.

Re: [linux-usb-devel] [PATCH]fix race between probe and open indabusb

2003-07-16 Thread Oliver Neukum
Am Mittwoch, 16. Juli 2003 23:21 schrieb Alan Stern: On Wed, 16 Jul 2003, Oliver Neukum wrote: Also, races with disconnect are not confined to open. Really? I thought that open was special because it was the only place that the usage count could be increased. Right. Therefore only open