diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-11-25 19:03:16 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-11-25 19:03:16 +0100 |
commit | 997b164d56257244411aea4d709e47e6ca2da299 (patch) | |
tree | 06edd291516516db6c064fd28308de6c72a5e1cf /udevd.c | |
parent | 13141b9a6a046e2aca812b2442f12f116856addf (diff) |
move SEQNUM event skipping to udevsend
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udevd.c')
-rw-r--r-- | udevd.c | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -979,13 +979,8 @@ int main(int argc, char *argv[], char *envp[]) /* get user socket message */ if (FD_ISSET(udevd_sock, &readfds)) { msg = get_udevd_msg(); - if (msg) { - if (msg->type == UDEVD_UEVENT_UDEVSEND && msg->seqnum != 0) { - info("skip non-kernel message with SEQNUM"); - free(msg); - } else - msg_queue_insert(msg); - } + if (msg) + msg_queue_insert(msg); } /* get kernel netlink message */ |