git: kernel - Fix lwp_create() kernel corruption and panic in error path

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Nov 8 16:16:17 PST 2011


commit 7b925b71fc4f59649cb4bdc91edd3e9410c02757
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Nov 8 16:10:38 2011 -0800

    kernel - Fix lwp_create() kernel corruption and panic in error path
    
    * We were forgetting to remove the lwp's thread from gd_tdallq, resulting
      in corruption of the queue.
    
    Reported-by: swildner

Summary of changes:
 sys/kern/kern_fork.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7b925b71fc4f59649cb4bdc91edd3e9410c02757


-- 
DragonFly BSD source repository





More information about the Commits mailing list