commit | db90e7a15cb4a160610b4e58576f25539ca216e7 | [log] [tgz] |
---|---|---|
author | Alan Stern <stern@rowland.harvard.edu> | Mon Feb 05 09:56:15 2007 -0500 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Feb 16 15:32:19 2007 -0800 |
tree | 10e0a54e3e20a42a8dd4b20448705f0ebad1dd94 | |
parent | af59cf404fc7ad6cc642de9e78252fb264917611 [diff] |
USB: fix concurrent buffer access in the hub driver This patch (as849) fixes a bug in the USB hub driver. A single pre-allocated buffer is used for all port status reads, but nothing guarantees exclusive use of the buffer. A mutex is added to provide this guarantee. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>