HomeFreeBSD

While the thread is sleeping in taskqueue_drain_all() it is

Description

While the thread is sleeping in taskqueue_drain_all() it is
posible that the queue entry it is looking at is removed
from the queue, but we make no effort to account
for this. when we wake up we need to check it's still there.

PR: 209580
Sponsored by: Panzura inc
Differential Revision: D8160

Details

Provenance
julianAuthored on
Differential Revision
D8160: Fix potential use-after free in taskqueue_drain_all
Parents
rS306934: Add CHIP dts into the build
Branches
Unknown
Tags
Unknown