git: network - Fix issue with recent unix domain socket gc fixes

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Oct 23 10:55:04 PDT 2010


commit 6aaa730aeeca94113b62d900248fef90fdf16405
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Oct 23 10:51:06 2010 -0700

    network - Fix issue with recent unix domain socket gc fixes
    
    * The gc's tracking of the deferral count could get out of sync and wind
      up looping forever due to the (now necessary) tsleep between loops.
    
    * Fix by recalculating the count on each loop.

Summary of changes:
 sys/kern/uipc_usrreq.c |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6aaa730aeeca94113b62d900248fef90fdf16405


-- 
DragonFly BSD source repository





More information about the Commits mailing list