DragonFlyBSD/src 1ea2893 — sys/dev/misc/psm psm.c
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 at irc
Delta | File | |
---|---|---|
+49 | -48 | sys/dev/misc/psm/psm.c |
+49 | -48 | 1 files |