aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPete Zaitcev <[email protected]>2006-09-18 22:57:22 -0700
committerGreg Kroah-Hartman <[email protected]>2006-09-27 11:59:00 -0700
commit71795c1df30b034414c921b4930ed88de34ca348 (patch)
tree962dc749e8d56bb90d9b40c2401d6519eca8f630 /net/unix/af_unix.c
parent38e2bfc94e95dd6005fdaf40dfec0157396741da (diff)
USB: ohci_usb can oops on shutdown
When ohci-hcd is shutting down (for rmmod or PC-card removal), there is a window when the device is shut down, HC communication area (->hcca) is freed, but the core has not called "free_irq" yet. If another device triggers a shared interrupt in this window, we oops when trying to access the freed ->hcca. This patch removes the window by calling free_irq before ->hcca is freed. The patch is tested at the PC hotplug test rig at Stratus, and with rmmod by Rafael Wysocki. Signed-off-by: Pete Zaitcev <[email protected]> Signed-off-by: David Brownell <[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