Am Montag, den 21.05.2018, 21:00 +0000 schrieb guido@kiener-
muenchen.de:
>
> I looked for a race here, but I do not find a race between open and release,
> since a refcount of "file_data->data->kref" is always hold by
> usbtmc_probe/disconnect.
>
> However I see a race between usbtmc_open and usbtmc_disconnect. Are these
> callback functions called mutual exclusive?
No, they are not.
> I'm not sure, but if not, then I think we have the same problem in
> usb-skeleton.c
In usb-skeleton.c a race exists. You are right.
Regards
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html