git: kernel - Make misc crypto functions MPSAFE

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jan 9 14:41:26 PST 2017


commit 8fc9d582594451ff2a71178fa9602257a07c5af7
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jan 9 14:38:54 2017 -0800

    kernel - Make misc crypto functions MPSAFE
    
    * Remove mplock from the crypto device code.
    
    * Implement cryptodev_lock for cryptof_ioctl() and related functions.
    
    * Prevent cryptof functions from imploding on concurrent access.

Summary of changes:
 sys/opencrypto/crypto.c    |  6 ++--
 sys/opencrypto/cryptodev.c | 76 ++++++++++++++++++++++++++++++----------------
 2 files changed, 51 insertions(+), 31 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8fc9d582594451ff2a71178fa9602257a07c5af7


-- 
DragonFly BSD source repository



More information about the Commits mailing list