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

git: AF_UNIX: Allocate pcb using M_WAITOK|M_NULLOK instead of M_NOWAIT


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 27 Apr 2011 00:19:44 -0700 (PDT)

commit c444f2f522057c0bb8f28e708cfb49889c7ab6e8
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Wed Apr 27 13:48:48 2011 +0800

    AF_UNIX: Allocate pcb using M_WAITOK|M_NULLOK instead of M_NOWAIT
    
    So the allocation will not fail mysteriously while the system will not
    panic if the system is really out of memory.

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

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


-- 
DragonFly BSD source repository



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