commit | 5ec1862e7b612d804ca10a0475dccf98c857efec | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oneukum@suse.de> | Tue Mar 27 16:02:34 2007 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Apr 27 13:28:38 2007 -0700 |
tree | 6670e75d9364c9d8871f8f1b85ac12bff9900e34 | |
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>