From: Oliver Neukum Date: Tue, 27 Mar 2007 14:02:34 +0000 (+0200) Subject: USB: fix omninet write vs. close race X-Git-Tag: v2.6.22-rc1~1117^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ec1862e7b612d804ca10a0475dccf98c857efec;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed