diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2007-02-05 09:56:15 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-16 15:32:19 -0800 |
commit | db90e7a15cb4a160610b4e58576f25539ca216e7 (patch) | |
tree | 10e0a54e3e20a42a8dd4b20448705f0ebad1dd94 /drivers/base/map.c | |
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>
Diffstat (limited to 'drivers/base/map.c')
0 files changed, 0 insertions, 0 deletions