Skip to content
Snippets Groups Projects
Commit 25cf32ad authored by Trond Myklebust's avatar Trond Myklebust
Browse files

SUNRPC: Handle allocation failure in rpc_new_task()


If the call to rpc_alloc_task() fails, then ensure that the calldata is
released, and that rpc_run_task() and rpc_run_bc_task() bail out early.

Reported-by: default avatarNeilBrown <neilb@suse.de>
Fixes: 910ad386 ("NFS: Fix memory allocation in rpc_alloc_task()")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 88dee0cc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment