HomeFreeBSD

In the zero delay case in queue_delayed_work() use the return value

Description

In the zero delay case in queue_delayed_work() use the return value
from taskqueue_enqueue() instead of reading "ta_pending" unlocked and
also ensure the callout is stopped before proceeding.

MFC after: 1 week
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on Dec 21 2015, 12:13 PM
Parents
rG55d445d3179f: Minor workqueue cleanup:
Branches
Unknown
Tags
Unknown

Event Timeline