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)
committerVenkatesh Srinivas <me@endeavour.zapto.org>
Tue, 7 Jun 2011 02:00:27 +0000 (19:00 -0700)
commit9d8635c4d7f2299b3818102ef68fd30c3e8448a6
tree7733246660a537cd82bee186cb1456d033efad6a
parent32b461c079ad86a494632c0afff911bfcd64fe4b
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