From: Alan Stern Date: Mon, 5 Feb 2007 14:56:15 +0000 (-0500) Subject: USB: fix concurrent buffer access in the hub driver X-Git-Tag: v2.6.21-rc1~82^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db90e7a15cb4a160610b4e58576f25539ca216e7;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed