Page MenuHomeFreeBSD

sound: Unlock around uiomove() in midi_{read,write}()
Needs ReviewPublic

Authored by christos on Mon, Dec 8, 4:03 PM.

Details

Reviewers
markj
emaste
Summary

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 69128
Build 66011: arc lint + arc unit

Event Timeline

sys/dev/sound/midi/midi.c
474

are there any struct snd_midimembers that could be invalid after dropping and reacquiring the lock? E.g. could m->flags & M_RX no longer be true?