returned.  The caller now holds a reference on this and it must be
      properly ended.
 
- (#) End a client call::
+ (#) Shut down a client call::
 
-       void rxrpc_kernel_end_call(struct socket *sock,
+       void rxrpc_kernel_shutdown_call(struct socket *sock,
+                                       struct rxrpc_call *call);
+
+     This is used to shut down a previously begun call.  The user_call_ID is
+     expunged from AF_RXRPC's knowledge and will not be seen again in
+     association with the specified call.
+
+ (#) Release the ref on a client call::
+
+       void rxrpc_kernel_put_call(struct socket *sock,
                                   struct rxrpc_call *call);
 
-     This is used to end a previously begun call.  The user_call_ID is expunged
-     from AF_RXRPC's knowledge and will not be seen again in association with
-     the specified call.
+     This is used to release the caller's ref on an rxrpc call.
 
  (#) Send data through a 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)
         * 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);
 
                           struct iov_iter *, size_t *, bool, u32 *, u16 *);
 bool rxrpc_kernel_abort_call(struct socket *, struct rxrpc_call *,
                             u32, int, enum rxrpc_abort_reason);
-void rxrpc_kernel_end_call(struct socket *, struct rxrpc_call *);
+void rxrpc_kernel_shutdown_call(struct socket *sock, struct rxrpc_call *call);
+void rxrpc_kernel_put_call(struct socket *sock, struct rxrpc_call *call);
 void rxrpc_kernel_get_peer(struct socket *, struct rxrpc_call *,
                           struct sockaddr_rxrpc *);
 bool rxrpc_kernel_get_srtt(struct socket *, struct rxrpc_call *, u32 *);
 
 }
 
 /**
- * rxrpc_kernel_end_call - Allow a kernel service to end a call it was using
+ * rxrpc_kernel_shutdown_call - Allow a kernel service to shut down a call it was using
  * @sock: The socket the call is on
  * @call: The call to end
  *
- * Allow a kernel service to end a call it was using.  The call must be
+ * Allow a kernel service to shut down a call it was using.  The call must be
  * complete before this is called (the call should be aborted if necessary).
  */
-void rxrpc_kernel_end_call(struct socket *sock, struct rxrpc_call *call)
+void rxrpc_kernel_shutdown_call(struct socket *sock, struct rxrpc_call *call)
 {
        _enter("%d{%d}", call->debug_id, refcount_read(&call->ref));
 
        mutex_lock(&call->user_mutex);
-       rxrpc_release_call(rxrpc_sk(sock->sk), call);
-
-       /* Make sure we're not going to call back into a kernel service */
-       if (call->notify_rx) {
-               spin_lock(&call->notify_lock);
-               call->notify_rx = rxrpc_dummy_notify_rx;
-               spin_unlock(&call->notify_lock);
+       if (!test_bit(RXRPC_CALL_RELEASED, &call->flags)) {
+               rxrpc_release_call(rxrpc_sk(sock->sk), call);
+
+               /* Make sure we're not going to call back into a kernel service */
+               if (call->notify_rx) {
+                       spin_lock(&call->notify_lock);
+                       call->notify_rx = rxrpc_dummy_notify_rx;
+                       spin_unlock(&call->notify_lock);
+               }
        }
-
        mutex_unlock(&call->user_mutex);
+}
+EXPORT_SYMBOL(rxrpc_kernel_shutdown_call);
+
+/**
+ * rxrpc_kernel_put_call - Release a reference to a call
+ * @sock: The socket the call is on
+ * @call: The call to put
+ *
+ * Drop the application's ref on an rxrpc call.
+ */
+void rxrpc_kernel_put_call(struct socket *sock, struct rxrpc_call *call)
+{
        rxrpc_put_call(call, rxrpc_call_put_kernel);
 }
-EXPORT_SYMBOL(rxrpc_kernel_end_call);
+EXPORT_SYMBOL(rxrpc_kernel_put_call);
 
 /**
  * rxrpc_kernel_check_life - Check to see whether a call is still alive
 
 call_complete:
        rxperf_set_call_complete(call, ret, remote_abort);
        /* The call may have been requeued */
-       rxrpc_kernel_end_call(rxperf_socket, call->rxcall);
+       rxrpc_kernel_shutdown_call(rxperf_socket, call->rxcall);
+       rxrpc_kernel_put_call(rxperf_socket, call->rxcall);
        cancel_work(&call->work);
        kfree(call);
 }