From: Roy Marples Date: Fri, 26 Feb 2016 16:10:36 +0000 (+0000) Subject: This comment no longer applies with kqueue(2) and epoll(7). X-Git-Tag: v6.10.2~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5701c726ffdcbd825bcee30981d74eaf288acfe4;p=thirdparty%2Fdhcpcd.git This comment no longer applies with kqueue(2) and epoll(7). --- diff --git a/eloop.c b/eloop.c index 5102fc48..64267fbb 100644 --- a/eloop.c +++ b/eloop.c @@ -354,12 +354,6 @@ eloop_event_add(struct eloop *eloop, int fd, goto err; #endif - /* The order of events should not matter. - * However, some PPP servers love to close the link right after - * sending their final message. So to ensure dhcpcd processes this - * message (which is likely to be that the DHCP addresses are wrong) - * we insert new events at the queue head as the link fd will be - * the first event added. */ TAILQ_INSERT_HEAD(&eloop->events, e, next); eloop_event_setup_fds(eloop); return 0;