summaryrefslogtreecommitdiff
path: root/net/rxrpc/ar-local.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/rxrpc/ar-local.c')
-rw-r--r--net/rxrpc/ar-local.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/ar-local.c b/net/rxrpc/ar-local.c
index a20a2c0fe105..fe03f71f17da 100644
--- a/net/rxrpc/ar-local.c
+++ b/net/rxrpc/ar-local.c
@@ -228,7 +228,7 @@ void rxrpc_put_local(struct rxrpc_local *local)
write_lock_bh(&rxrpc_local_lock);
if (unlikely(atomic_dec_and_test(&local->usage))) {
_debug("destroy local");
- schedule_work(&local->destroyer);
+ rxrpc_queue_work(&local->destroyer);
}
write_unlock_bh(&rxrpc_local_lock);
_leave("");