summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonrad Lipinski <konrad.l@samsung.com>2016-12-09 17:38:32 +0100
committerHyotaek Shim <hyotaek.shim@samsung.com>2016-12-12 23:21:38 -0800
commit922249ecc08a4b09144965ef01d09c1ce08127ea (patch)
treeb8afa9d79286370e5582f4a12d0f11207f7da0d2
parentd201844dbf7b8b243884be46990133644f71dd4f (diff)
downloadlinux-exynos-922249ecc08a4b09144965ef01d09c1ce08127ea.tar.gz
linux-exynos-922249ecc08a4b09144965ef01d09c1ce08127ea.tar.bz2
linux-exynos-922249ecc08a4b09144965ef01d09c1ce08127ea.zip
kdbus: link replies in fifo send order
As a consequence, timeouts are now issued in fifo order. Change-Id: Iacf4e922a37038fa42f95a9d058eeacd0ebce3ec Signed-off-by: Konrad Lipinski <konrad.l@samsung.com> (cherry picked from commit 01f13cbad7db5ee8f082d40d5711cba81980c59a)
-rw-r--r--ipc/kdbus/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/kdbus/reply.c b/ipc/kdbus/reply.c
index e6791d86ec92..07cb133cd8f1 100644
--- a/ipc/kdbus/reply.c
+++ b/ipc/kdbus/reply.c
@@ -117,7 +117,7 @@ void kdbus_reply_link(struct kdbus_reply *r)
if (WARN_ON(!list_empty(&r->entry)))
return;
- list_add(&r->entry, &r->reply_dst->reply_list);
+ list_add_tail(&r->entry, &r->reply_dst->reply_list);
kdbus_reply_ref(r);
}