Re: M_DONTWAIT - M_NOWAIT

2012-12-28 Thread Todd C. Miller
On Fri, 28 Dec 2012 11:50:49 -0200, Gleydson Soares wrote: following diff tweak malloc(9) to use M_NOWAIT instead of M_DONTWAIT. this will make the code more consistent since that M_DONTWAIT is a flag defin ed for mbuf(9), so we shouldn't to confuse. no functional change since that

Re: M_DONTWAIT - M_NOWAIT

2012-12-28 Thread Gleydson Soares
On Fri, Dec 28, 2012 at 1:25 PM, Todd C. Miller todd.mil...@courtesan.com wrote: OK for all but that m_split() change where M_DONTWAIT is actually appropriate. We shouldn't be using M_DONTWAIT for malloc() but it is correct for the mbuf functions. Ooops. good catch. m_split() was changed by a