HomeFreeBSD

Fix data race in scsi cd driver.

Description

Fix data race in scsi cd driver.

There is a data race between cdsysctlinit and cdcheckmedia. Both
functions change softc->flags without synchronization.

Submitted by: Arseny Smalyuk <smalukav@gmail.com>
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D31726

Details

Provenance
mavAuthored on Sep 13 2021, 12:59 PM
Differential Revision
D31726: Fix data race in scsi cd driver
Parents
rG2d78130185b5: Add missing dep patterns for .pieo
Branches
Unknown
Tags
Unknown