diff options
author | Alan Stern <[email protected]> | 2013-01-22 11:37:35 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2013-01-22 08:55:13 -0800 |
commit | 0f815a0a700bc10547449bde6c106051a035a1b9 (patch) | |
tree | 15fa8225bc26d460df7e97ee056e95a51067a84b /net/unix/af_unix.c | |
parent | ad2e6329666650d9cafcae9ef53fbe09ea759ae2 (diff) |
USB: UHCI: fix IRQ race during initialization
This patch (as1644) fixes a race that occurs during startup in
uhci-hcd. If the IRQ line is shared with other devices, it's possible
for the handler routine to be called before the data structures are
fully initialized.
The problem is fixed by adding a check to the IRQ handler routine. If
the initialization hasn't finished yet, the routine will return
immediately.
Signed-off-by: Alan Stern <[email protected]>
Reported-by: Don Zickus <[email protected]>
Tested-by: "Huang, Adrian (ISS Linux TW)" <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions