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

Venkatesh Srinivas vsrinivas at crater.dragonflybsd.org
Mon Jun 6 19:11:54 PDT 2011


commit 9d8635c4d7f2299b3818102ef68fd30c3e8448a6
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/9d8635c4d7f2299b3818102ef68fd30c3e8448a6


-- 
DragonFly BSD source repository





More information about the Commits mailing list