git: DragonFly_RELEASE_4_8 kernel - Fix broken wakeup in crypto code

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


commit 321f37c79338e154363ce730a7af124e76b2b070
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/321f37c79338e154363ce730a7af124e76b2b070


-- 
DragonFly BSD source repository



More information about the Commits mailing list