DragonFly BSD
DragonFly commits List (threaded) for 2011-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 29 Jan 2011 19:00:59 -0800 (PST)

commit c9f7645b973a801d99a9ae073ff8363caf483082
Author: Matthew Dillon <dillon@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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]