diff options
author | Oliver Neukum <oneukum@suse.de> | 2007-03-27 16:02:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-04-27 13:28:38 -0700 |
commit | 5ec1862e7b612d804ca10a0475dccf98c857efec (patch) | |
tree | 6670e75d9364c9d8871f8f1b85ac12bff9900e34 /drivers/usb/serial/whiteheat.h | |
parent | 2f007de2f4296e4dafae6ab0b3cc1bc49443137a (diff) |
USB: fix omninet write vs. close race
omninet kills all URBs in close. However write() returns as soon as
the URB has been submitted. Killing the last URB means a race that
can lose that date written in the last call to write().
As a fix this is moved to shutdown().
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/whiteheat.h')
0 files changed, 0 insertions, 0 deletions