From ee93ba1237d331abf3988807e0588c736802b87a Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Thu, 16 Jan 2014 16:59:47 +0100 Subject: [PATCH] connection: kick off timeout scan for conn_src, not conn_dst conn_src is the one we added the reply list to, so this one should be kicked off. Note that the first invocation of the timeout scanner will unlikely do any real work anyway. The reason for calling it here is that it will implicitly calculate a new deadline, and arm the timer. --- connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connection.c b/connection.c index 5c47c89..1ccc3f4 100644 --- a/connection.c +++ b/connection.c @@ -787,7 +787,7 @@ int kdbus_conn_kmsg_send(struct kdbus_ep *ep, atomic_inc(&reply->conn->reply_count); mutex_unlock(&conn_src->lock); - kdbus_conn_timeout_schedule_scan(conn_dst); + kdbus_conn_timeout_schedule_scan(conn_src); } if (conn_src) { -- 2.34.1