diff options
author | Jonathan T. Looney <jtl@FreeBSD.org> | 2025-10-03 16:23:07 +0000 |
---|---|---|
committer | Jonathan T. Looney <jtl@FreeBSD.org> | 2025-10-06 15:59:31 +0000 |
commit | 4a5d8670a7d58b04913fd90aae85a1e35236ca3d (patch) | |
tree | 4fdeac9af099d004ba981166fe9e75d5f4bc8e82 /sbin/mdmfs | |
parent | a0c709ab5af4e87ce4579404c4ffbd4295ad12c5 (diff) |
Currently, the CMCI handler checks the cold variable to determine
whether it can schedule a task. The task queue is setup as part of the
mca_startup() function, which is run well after the configure_final()
function sets the cold variable to 0. Therefore, if an MCA arrives
in the window between configure_final() and mca_startup() running,
the code could try to schedule a task on an unintitalized task queue.
Close the race by specifically checking whether the mca_startup()
function has run.
Reviewed by: markj
MFC after: 1 week
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D12276
Diffstat (limited to 'sbin/mdmfs')
0 files changed, 0 insertions, 0 deletions