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
Parents
rS292542: Minor workqueue cleanup:
Branches
Unknown
Tags
Unknown