Make `vscsi_filtops' mpsafe. filt_vscsiread() checks `sc_ccb_i2t'
authormvs <mvs@openbsd.org>
Wed, 25 Oct 2023 09:36:47 +0000 (09:36 +0000)
committermvs <mvs@openbsd.org>
Wed, 25 Oct 2023 09:36:47 +0000 (09:36 +0000)
commit26a3a4bd8cf5fdc213b85bab17ef2499f6bec765
tree4c34c3a55db77bb490a69a69f408b4b49a368cd0
parenta837816ec7b41e65117c81849e3adbd3c86bdcc0
Make `vscsi_filtops' mpsafe. filt_vscsiread() checks `sc_ccb_i2t'
protected by `sc_state_mtx' mutex(9), so use it to protect `sc_klist'
knotes list too.

ok claudio
sys/dev/vscsi.c