diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-04-07 04:36:19 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-04-07 22:20:00 +0200 |
commit | 25cf32ad5dba79385f6e7de9008dcb75556c42d2 (patch) | |
tree | cb340ece410fea8667859d87484749fc26e82252 /usr | |
parent | NFS: Ensure rpc_run_task() cannot fail in nfs_async_rename() (diff) | |
download | linux-25cf32ad5dba79385f6e7de9008dcb75556c42d2.tar.xz linux-25cf32ad5dba79385f6e7de9008dcb75556c42d2.zip |
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: NeilBrown <neilb@suse.de>
Fixes: 910ad38697d9 ("NFS: Fix memory allocation in rpc_alloc_task()")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions