commit | ddce40df6e14dd474bbd9daa006dcc290dea6326 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Wed May 09 08:30:11 2007 +0200 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Wed May 09 17:58:00 2007 -0400 |
tree | 29995b5d0ad7fcab114d388b4ab1675e32ba963e | |
parent | e4cc6ee2e40bdd57990577b7f851fa2ca48edf47 [diff] |
sunrpc: fix crash in rpc_malloc() While the comment says: * To prevent rpciod from hanging, this allocator never sleeps, * returning NULL if the request cannot be serviced immediately. The function does not actually check for NULL pointers being returned. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>