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

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Apr 27 00:20:39 PDT 2011


commit c444f2f522057c0bb8f28e708cfb49889c7ab6e8
Author: Sepherosa Ziehau <sephe at 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





More information about the Commits mailing list