From: Alan Stern Date: Mon, 10 Jul 2006 11:44:47 +0000 (-0700) Subject: [PATCH] usb-storage: wait for URB to complete X-Git-Tag: v2.6.18-rc2~184 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6b7d3b62069be60d5b13358bac8670dacdd7a81;p=pandora-kernel.git [PATCH] usb-storage: wait for URB to complete We all failed to notice that Franck's recent update to usb-storage allowed an URB to complete after its context data was no longer valid. This patch (as746) makes the driver wait for the URB to complete whenever there's a timeout. Although timeouts in usb-storage are relatively uncommon, they do occur. Without this patch the code in 2.6.18-rc1 will fault within an interrupt handler, which is not nice at all. Signed-off-by: Alan Stern Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed