HomeFreeBSD

Make sure the timer belonging to the delayed work in the LinuxKPI

Description

Make sure the timer belonging to the delayed work in the LinuxKPI
gets drained before invoking the work function. Else the timer
mutex may still be in use which can lead to use-after-free situations,
because the work function might free the work structure before returning.

MFC after: 1 week
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS324277: mdoc style: start new sentence on new line
Branches
Unknown
Tags
Unknown