NFS functions does *NOT* check if they really have allocated anymemory

2002-11-05 Thread Iasen Kostov
As I experience system crushes at time of mbufs exhaustion I've compiled a debug kernel and traced the problem. I seems the NFS functions (nfsm_rpchead, nfsm_reqh ...) does *NOT* chek if they really have allocated memory by MGET macro. First problem that I saw was in nfsm_reqh at nfs/nfs_subs.c

Re: NFS functions does *NOT* check if they really have allocated anymemory

2002-11-05 Thread Archie Cobbs
Iasen Kostov writes: > As I experience system crushes at time of mbufs exhaustion I've compiled > a debug kernel and traced the problem. I seems the NFS functions > (nfsm_rpchead, nfsm_reqh ...) does *NOT* chek if they really have > allocated memory by MGET macro. No check is necessary if M_WAIT

Re: NFS functions does *NOT* check if they really have allocated anymemory

2002-11-06 Thread Archie Cobbs
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