git: DragonFly_RELEASE_5_4 psm - Fix panic in ps/2 mouse driver
    Matthew Dillon 
    dillon at crater.dragonflybsd.org
       
    Mon Mar 11 22:01:01 PDT 2019
    
    
  
commit 64d15ba7fd892afea53ac21895e7065371b9a174
Author: Matthew Dillon <dillon at 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 at 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/64d15ba7fd892afea53ac21895e7065371b9a174
-- 
DragonFly BSD source repository
    
    
More information about the Commits
mailing list