summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/uhci_pci.c
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2015-09-01 09:27:14 +0000
committeravg <avg@FreeBSD.org>2015-09-01 09:27:14 +0000
commita047794b25e4ffea843508c1ebb71502679ef5e6 (patch)
tree497d431e5826e1f23dd07d62dedab1468ac5c07b /sys/dev/usb/controller/uhci_pci.c
parentcc00887f9b65d88ba65f56e85d24e4f95b061543 (diff)
downloadFreeBSD-src-a047794b25e4ffea843508c1ebb71502679ef5e6.zip
FreeBSD-src-a047794b25e4ffea843508c1ebb71502679ef5e6.tar.gz
callout_reset: fix a reversed check for cc_exec_cancel
The typo was introduced in r278469 / 344ecf88af2dfb. As a result of the bug there was a timing window where callout_reset() would fail to cancel a concurrent execution of a callout that is about to start and would schedule the callout again. The callout would fire more times than it is scheduled. That would happen even if the callout is initialized with a lock. For example, the bug triggered the "Stray timeout" assertion in taskqueue_timeout_func(). MFC after: 5 days
Diffstat (limited to 'sys/dev/usb/controller/uhci_pci.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud