projects
/
platform
/
core
/
system
/
kdbus-bus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dcd2bb
)
message: allow bloom filters with unicast signals
author
David Herrmann
<dh.herrmann@gmail.com>
Thu, 8 Jan 2015 23:58:26 +0000
(
00:58
+0100)
committer
David Herrmann
<dh.herrmann@gmail.com>
Thu, 8 Jan 2015 23:58:26 +0000
(
00:58
+0100)
Make sure unicast signals can have bloom-filters attached.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
message.c
patch
|
blob
|
history
diff --git
a/message.c
b/message.c
index 4124e4bf9e4ee2f00e0df99130475271f654c49e..a1d396c5409af4aeba650212baed3ab431c40941 100644
(file)
--- a/
message.c
+++ b/
message.c
@@
-393,10
+393,6
@@
static int kdbus_msg_scan_items(struct kdbus_kmsg *kmsg,
return -EEXIST;
has_bloom = true;
- /* bloom filters are only for broadcast messages */
- if (msg->dst_id != KDBUS_DST_ID_BROADCAST)
- return -EBADMSG;
-
bloom_size = payload_size -
offsetof(struct kdbus_bloom_filter, data);