All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] dbus: Fix disconnect watch with unique bus names
@ 2016-11-09  2:51 Andrew Zaborowski
  2016-11-09  2:51 ` [PATCH 2/2] kdbus: Notifications and get_name_owner for unique names Andrew Zaborowski
  2016-11-09 20:14 ` [PATCH 1/2] dbus: Fix disconnect watch with unique bus names Denis Kenzior
  0 siblings, 2 replies; 3+ messages in thread
From: Andrew Zaborowski @ 2016-11-09  2:51 UTC (permalink / raw)
  To: ell

[-- Attachment #1: Type: text/plain, Size: 645 bytes --]

Make the dbus-name-cache, service watches and disconnect watches work
with unique bus names.  Problem spotted by Daniel Wagner and culprit
pointed out by Denis Kenzior.
---
 ell/dbus-name-cache.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/ell/dbus-name-cache.c b/ell/dbus-name-cache.c
index 0c2e08e..cb6a516 100644
--- a/ell/dbus-name-cache.c
+++ b/ell/dbus-name-cache.c
@@ -178,9 +178,6 @@ void _dbus_name_cache_notify(struct _dbus_name_cache *cache,
 	if (!cache)
 		return;
 
-	if (_dbus_parse_unique_name(name, NULL))
-		return;
-
 	entry = l_hashmap_lookup(cache->names, name);
 
 	if (!entry)
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-09 20:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-09  2:51 [PATCH 1/2] dbus: Fix disconnect watch with unique bus names Andrew Zaborowski
2016-11-09  2:51 ` [PATCH 2/2] kdbus: Notifications and get_name_owner for unique names Andrew Zaborowski
2016-11-09 20:14 ` [PATCH 1/2] dbus: Fix disconnect watch with unique bus names Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.