commit | d718d2b17822bb92708204cb1a9175e512520261 | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oliver@neukum.org> | Tue Oct 23 12:26:41 2007 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Thu Oct 25 12:18:44 2007 -0700 |
tree | 07db96751e993ceba8bed366458115d2c1ec6773 | |
parent | 54d2bc068fd21bcb096660938bce7c7265613a24 [diff] |
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 <oneukum@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>