diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-08-28 23:14:59 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-08-28 23:14:59 +0200 |
commit | d2ecd6a19d147ede317995cce1b21042291a6b19 (patch) | |
tree | 468139752f3f2ec17fb438757a72d13aff9edb73 /udevd.c | |
parent | c6303c1316e967ae2c52792b0560ee055ce4276e (diff) |
don't reenter get_udevd_msg() if message is ignored
Check all event sources with every iteration.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udevd.c')
-rw-r--r-- | udevd.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -946,9 +946,8 @@ int main(int argc, char *argv[], char *envp[]) if (uevent_netlink_active && msg->type == UDEVD_UEVENT_UDEVSEND && msg->seqnum != 0) { dbg("skip uevent_helper message, netlink is active"); free(msg); - continue; - } - msg_queue_insert(msg); + } else + msg_queue_insert(msg); } } |