summaryrefslogtreecommitdiff
path: root/udevd.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-11-25 19:03:16 +0100
committerKay Sievers <kay.sievers@suse.de>2005-11-25 19:03:16 +0100
commit997b164d56257244411aea4d709e47e6ca2da299 (patch)
tree06edd291516516db6c064fd28308de6c72a5e1cf /udevd.c
parent13141b9a6a046e2aca812b2442f12f116856addf (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.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/udevd.c b/udevd.c
index 25ef857a8c..b87fe56413 100644
--- 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 */