git: kernel - Have the crypto subsystem use the new mpipe_alloc_callback() API

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Jan 29 19:02:02 PST 2011


commit c9f7645b973a801d99a9ae073ff8363caf483082
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Jan 29 18:59:32 2011 -0800

    kernel - Have the crypto subsystem use the new mpipe_alloc_callback() API
    
    * The crypto subsystem can deadlock on blocked mpipe operations while
      holding a CAM lockmgr lock.
    
    * Change the subsystem to use the new mpipe_alloc_callback() mechanism,
      avoiding any deadlocks.
    
    Reported-by: Peter Avalos <peter at theshell.com>

Summary of changes:
 sys/dev/disk/dm/targets/crypt/dm_target_crypt.c |   59 ++++++++++++++---------
 1 files changed, 36 insertions(+), 23 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list