commit 1ea2893e99482291345e6c798d20cfef84d6ed07 Author: Matthew Dillon <dil...@apollo.backplane.com> Date: Mon Mar 11 21:10:12 2019 -0700
psm - Fix panic in ps/2 mouse driver * Fix a race in the ps/2 driver where a callout could be interrupted by psmintr() and corrupt the ps/2 packet buffer, causing a panic. * Use a lockmgr lock instead of (archaic) critical sections for interrupt protection. Also use the locked callout API. This will hopefully prevent any further corruption. Reported-by: drill-use@irc Summary of changes: sys/dev/misc/psm/psm.c | 97 +++++++++++++++++++++++++------------------------- 1 file changed, 49 insertions(+), 48 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1ea2893e99482291345e6c798d20cfef84d6ed07 -- DragonFly BSD source repository