chiark / gitweb /
move SEQNUM event skipping to udevsend
authorKay Sievers <kay.sievers@suse.de>
Fri, 25 Nov 2005 18:03:16 +0000 (19:03 +0100)
committerKay Sievers <kay.sievers@suse.de>
Fri, 25 Nov 2005 18:03:16 +0000 (19:03 +0100)
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
udevd.c

diff --git a/udevd.c b/udevd.c
index 25ef857..b87fe56 100644 (file)
--- a/udevd.c
+++ b/udevd.c
@@ -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 */