diff options
author | 2007-03-27 16:02:34 +0200 | |
---|---|---|
committer | 2007-04-27 13:28:38 -0700 | |
commit | 5ec1862e7b612d804ca10a0475dccf98c857efec (patch) | |
tree | 6670e75d9364c9d8871f8f1b85ac12bff9900e34 /include/linux/usb.h | |
parent | USB: fix error handling for mct_u232 (diff) | |
download | linux-dev-5ec1862e7b612d804ca10a0475dccf98c857efec.tar.xz linux-dev-5ec1862e7b612d804ca10a0475dccf98c857efec.zip |
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 'include/linux/usb.h')
0 files changed, 0 insertions, 0 deletions