]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/udev/udevd.c
udevd: worker - log if worker result cannot be sent
authorTom Gundersen <teg@jklm.no>
Fri, 24 Apr 2015 18:36:02 +0000 (20:36 +0200)
committerTom Gundersen <teg@jklm.no>
Fri, 24 Apr 2015 18:36:05 +0000 (20:36 +0200)
commitb66f29a1eaaa001b9bdeac7609f84c71b2e48f21
tree0e2059f84763d7c7393d0deeee243b41efff4966
parentc0bbfd72e7437f8b2e6d64efa56f2705fceb0fcc
udevd: worker - log if worker result cannot be sent

If the main daemon is not notified about a worker finishing an event
the refcounting of the worker struct will be wrong, and we will lose
track of the number of children we have to wait for.

This should not happen, but if it does we better complain loudly about
it. Worst case udev will wait for 30 seconsd at shutdown waiting for
nonexistent workers.
src/udev/udevd.c