diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2013-01-22 11:37:35 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-27 20:46:28 -0800 |
commit | 27b2a263fa42cbad0fb33da2de30e4bbc380c43f (patch) | |
tree | 64d0d743f359aee479fa187b220e8aed4597979b /net/unix/sysctl_net_unix.c | |
parent | ef3319d2624e24085982336facc71b414c134f4a (diff) |
USB: UHCI: fix IRQ race during initialization
commit 0f815a0a700bc10547449bde6c106051a035a1b9 upstream.
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 <stern@rowland.harvard.edu>
Reported-by: Don Zickus <dzickus@redhat.com>
Tested-by: "Huang, Adrian (ISS Linux TW)" <adrian.huang@hp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions