projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f7a9e8
)
udevd: try close ctrl connection blocking socket only once when spawning a new worker...
author
Franck Bui
<fbui@suse.com>
Mon, 30 May 2016 14:35:34 +0000
(16:35 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 30 May 2016 14:35:34 +0000
(16:35 +0200)
src/udev/udevd.c
patch
|
blob
|
history
diff --git
a/src/udev/udevd.c
b/src/udev/udevd.c
index
e9dd2f4
..
a8ab208
100644
(file)
--- a/
src/udev/udevd.c
+++ b/
src/udev/udevd.c
@@
-368,7
+368,6
@@
static void worker_spawn(Manager *manager, struct event *event) {
manager->monitor = udev_monitor_unref(manager->monitor);
manager->ctrl_conn_blocking = udev_ctrl_connection_unref(manager->ctrl_conn_blocking);
manager->ctrl = udev_ctrl_unref(manager->ctrl);
- manager->ctrl_conn_blocking = udev_ctrl_connection_unref(manager->ctrl_conn_blocking);
manager->worker_watch[READ_END] = safe_close(manager->worker_watch[READ_END]);
manager->ctrl_event = sd_event_source_unref(manager->ctrl_event);