Messages in this thread | | | Date | Tue, 19 Dec 2006 21:15:44 +0100 (MET) | From | Oliver Neukum <> | Subject | Re: Possible race condition in usb-serial.c |
| |
Am Dienstag, 19. Dezember 2006 20:21 schrieb J: > Hi, > I read usb-serial.c code (in 2.6.19) and I cannot > figure out how it is > supposed to prevent race condition and premature > deletion of usb_serial > structure. I see that the code attempts to protect > usb_serial by ref > counting, but it does not appear to be correct. I am > not 100% sure in my > findings, so I will appreciate if somebody will double > check.
This code depends on protection from BKL.
Regards Oliver - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |