git: kernel - Fix sio lockup

Matthew Dillon dillon at
Tue Sep 18 13:06:26 PDT 2018

commit 11f30079f66756529e9e3cdc3e827d67bbda13ed
Author: Matthew Dillon <dillon at>
Date:   Tue Sep 18 13:03:38 2018 -0700

    kernel - Fix sio lockup
    * Fix crit-v-com_lock order.  Critical sections must be entered before
      com_lock, and exited after com_unlock.  This fixes an issue where
      crit_exit() was executing complex code with com_lock still held,
      potentially deadlocking against sio when processing pending interrupts.

Summary of changes:
 sys/dev/serial/sio/sio.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list