mirror of
https://github.com/opnsense/src.git
synced 2026-05-13 01:29:35 -04:00
Use a sx lock to permit uiomove directly into/out of the the per-port
buffers. In addition, the sx lock provides a stronger guarantee that
I think this driver wants which is to single-thread read and write
calls even while paused. Finally, replace tsleep with dummy wait
channels with calls to pause_sig to more clearly communicate the
intent.
Differential Revision: https://reviews.freebsd.org/D35081
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| pbio.c | ||
| pbioio.h | ||