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:
6ae612d
)
connection: add comment on init_poll_funcptr()
author
Daniel Mack
<daniel@zonque.org>
Fri, 19 Dec 2014 18:47:52 +0000
(19:47 +0100)
committer
Daniel Mack
<daniel@zonque.org>
Fri, 19 Dec 2014 18:47:52 +0000
(19:47 +0100)
Signed-off-by: Daniel Mack <daniel@zonque.org>
connection.c
patch
|
blob
|
history
diff --git
a/connection.c
b/connection.c
index 82968ac9137f2d8c7f211397e0c4a8b165a262db..1a07edaa6d1e2ded02c9c554f8ae074a9eb8817a 100644
(file)
--- a/
connection.c
+++ b/
connection.c
@@
-709,6
+709,11
@@
static int kdbus_conn_wait_reply(struct kdbus_conn *conn_src,
break;
}
+ /*
+ * Reset the poll worker func, so the waitqueues are not
+ * added to the poll table again. We just reuse what we've
+ * collected earlier for further iterations.
+ */
init_poll_funcptr(&pwq.pt, NULL);
}