Max Kellermann wrote: > It is not documented that select() always returns 0 when the timeout > expires - the timeout may expire, and there may be events on file > descriptors at the same time. Don't check the select() return value, > check timerisset(next_alarm) instead, and always update next_alarm > with get_next_alarm() Indeed, good point. This was fixed in r7260. > Also the old code never checked for new alarms which were added during > the file descriptor handlers. Same thing. -- "Los honestos son inadaptados sociales" -- Les Luthiers - To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html