Harti Brandt writes: > IK>> > As I experience system crushes at time of mbufs exhaustion I've compiled > IK>> > a debug kernel and traced the problem. I seems the NFS functions > IK>> > (nfsm_rpchead, nfsm_reqh ...) does *NOT* chek if they really have > IK>> > allocated memory by MGET macro. > IK>> > IK>> No check is necessary if M_WAIT is specified; the M_GET() function > IK>> is always successful in that case. Same for malloc(). > > Wrong. malloc() returns always successful with M_WAIT, M_GET not. There > is a timeout the M_GET() will wait, but the it will return NULL.
Oops, you're right.. sorry for the misinformation. Sounds like a bug to me (did Iasen file a PR?) -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message