diff options
author | Paolo Abeni <pabeni@redhat.com> | 2023-04-26 10:17:46 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-04-26 10:17:46 +0200 |
commit | c248b27cfc0a8a5fee93e000d47e659bca335d0f (patch) | |
tree | e4898df753acf2d2d9885844ea37b9f03ccf661c /fs | |
parent | net: phy: marvell-88x2222: remove unnecessary (void*) conversions (diff) | |
parent | tcp/udp: Fix memleaks of sk and zerocopy skbs with TX timestamp. (diff) | |
download | linux-c248b27cfc0a8a5fee93e000d47e659bca335d0f.tar.xz linux-c248b27cfc0a8a5fee93e000d47e659bca335d0f.zip |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
No conflicts.
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/afs/rxrpc.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/fs/afs/rxrpc.c b/fs/afs/rxrpc.c index 7817e2b860e5..e08b850c3e6d 100644 --- a/fs/afs/rxrpc.c +++ b/fs/afs/rxrpc.c @@ -179,7 +179,8 @@ void afs_put_call(struct afs_call *call) ASSERT(call->type->name != NULL); if (call->rxcall) { - rxrpc_kernel_end_call(net->socket, call->rxcall); + rxrpc_kernel_shutdown_call(net->socket, call->rxcall); + rxrpc_kernel_put_call(net->socket, call->rxcall); call->rxcall = NULL; } if (call->type->destructor) @@ -420,10 +421,8 @@ error_kill_call: * The call, however, might be queued on afs_async_calls and we need to * make sure we don't get any more notifications that might requeue it. */ - if (call->rxcall) { - rxrpc_kernel_end_call(call->net->socket, call->rxcall); - call->rxcall = NULL; - } + if (call->rxcall) + rxrpc_kernel_shutdown_call(call->net->socket, call->rxcall); if (call->async) { if (cancel_work_sync(&call->async_work)) afs_put_call(call); |