From: Oliver Neukum Date: Tue, 23 Oct 2007 10:26:41 +0000 (+0200) Subject: USB: fix read vs. disconnect race in cytherm driver X-Git-Tag: v2.6.24-rc2~136^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d718d2b17822bb92708204cb1a9175e512520261;p=pandora-kernel.git USB: fix read vs. disconnect race in cytherm driver the disconnect method of this driver set intfdata to NULL before removing attribute files. The attributes' read methods will happily follow the NULL pointer. Here's the correct ordering. Signed-off-by : Oliver Neukum Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed