summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ipc/kdbus/bus.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipc/kdbus/bus.c b/ipc/kdbus/bus.c
index a67f825bdeaf..485243cab579 100644
--- a/ipc/kdbus/bus.c
+++ b/ipc/kdbus/bus.c
@@ -263,6 +263,9 @@ void kdbus_bus_broadcast(struct kdbus_bus *bus,
down_read(&bus->conn_rwlock);
hash_for_each(bus->conn_hash, i, conn_dst, hentry) {
+ if ((conn_dst->id == staging->msg->src_id) && (current->tgid == 1))
+ continue;
+
if (!kdbus_conn_is_ordinary(conn_dst))
continue;