Skip to content
Commit ddce40df authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Trond Myklebust
Browse files

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: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent e4cc6ee2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment