Re: possible module unload race in sg_open()

2001-03-07 Thread Douglas Gilbert
Oliver Neukum wrote: > > Hi, > > I think there's a small window during which a low level driver can be > unloaded while sg_open() is executing. > The attached patch should fix it by incrementing the usage counter before > sg_open() might sleep. Oliver, Yes that should be done. I intend to make

possible module unload race in sg_open()

2001-03-06 Thread Oliver Neukum
Hi, I think there's a small window during which a low level driver can be unloaded while sg_open() is executing. The attached patch should fix it by incrementing the usage counter before sg_open() might sleep. Regards Oliver --- drivers/scsi/sg.c.alt Tue Mar 6 23:33: