From: Lukasz Skalski Date: Wed, 20 Jul 2016 16:21:25 +0000 (+0200) Subject: kdbus: allowing sending replies even if NO_EXPECT_REPLY is set X-Git-Tag: accepted/tizen/common/20161219.151653~244 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a13c5886b834822ed8a85a9482cfe12a00942a69;p=platform%2Fkernel%2Flinux-exynos.git kdbus: allowing sending replies even if NO_EXPECT_REPLY is set Change-Id: I34427f381957dd8d366e9e4d837d5a2a34a39cc1 --- diff --git a/ipc/kdbus/connection.c b/ipc/kdbus/connection.c index 02a6872..8e994ea 100644 --- a/ipc/kdbus/connection.c +++ b/ipc/kdbus/connection.c @@ -1129,11 +1129,6 @@ static int kdbus_conn_reply(struct kdbus_conn *src, struct kdbus_kmsg *kmsg) } mutex_unlock(&dst->lock); - if (!reply) { - ret = -EPERM; - goto exit; - } - /* attach metadata */ attach = kdbus_meta_calc_attach_flags(src, dst);