AF_UNIX: Allocate pcb using M_WAITOK|M_NULLOK instead of M_NOWAIT
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 27 Apr 2011 05:48:48 +0000 (13:48 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 27 Apr 2011 05:48:48 +0000 (13:48 +0800)
commitc444f2f522057c0bb8f28e708cfb49889c7ab6e8
treeba9640c6ab0740ecc908adcdbedd7603ad11aa73
parent1a7fa938632e3b7a7d9c409be6ab1051162734ed
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.
sys/kern/uipc_usrreq.c