HomeFreeBSD

Ensure that the MAD agent's delayed taskqueue is completely stopped

Description

Ensure that the MAD agent's delayed taskqueue is completely stopped
before proceeding. Otherwise, nothing prevents it from running after the
MAD agent struct has been been freed, and this results in a use-after-free
when the task's ta_pending count is incremented in the callout handler.

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division

Details

Provenance
markjAuthored on
Parents
rS287836: arm64: add kbd.c to the build for ukbd to fix the build
Branches
Unknown
Tags
Unknown