DragonFlyBSD/src 64d15basys/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
DeltaFile
+49-48sys/dev/misc/psm/psm.c
+49-481 files

UnifiedSplitRaw