git: kernel - Fix broken wakeup in crypto code

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Apr 1 16:46:11 PDT 2017


commit c07e15e97ae9ce22b65b4ddbd2b9f3ce213e8c28
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Apr 1 16:43:28 2017 -0700

    kernel - Fix broken wakeup in crypto code
    
    * Depending on which crypto driver is being used and the crypto load,
      the crp_sleep variable for the wrong tdinfo is tested to determine
      whether a wakeup is needed or not.  This can result in the crypto thread
      not being woken up when new work is pending.
    
    * Can cause the crypto subsystem to stall indefinitely, in particular
      during a normal shutdown,
    
    Reported-by: jh32

Summary of changes:
 sys/opencrypto/crypto.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c07e15e97ae9ce22b65b4ddbd2b9f3ce213e8c28


-- 
DragonFly BSD source repository



More information about the Commits mailing list