busybox/networking
Miroslav Lichvar b434ce7069 ntpd: don't stay at short polling interval
To avoid polling servers frequently slowly increase the interval up
to BIGPOLL when
- no replies are received from a peer
- no source can be selected
- peer claims to be unsynchronized (e.g. we are polling it too
  frequently)

When recv() returns with an error, drop code to try to continue
on network errors: I'm not convinced those cases happen in real life.

function                                             old     new   delta
recv_and_process_peer_pkt                            919     838     -81

Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2014-10-02 17:24:34 +02:00
..
2013-01-14 15:57:44 +01:00
2012-03-19 12:22:57 +01:00
2013-01-14 01:34:48 +01:00
2014-02-10 09:51:03 +01:00
2011-12-06 18:59:55 +01:00
2014-01-09 20:09:43 +01:00
2014-03-05 18:58:15 +01:00
2014-08-27 16:01:25 +02:00
2013-05-12 02:13:24 +02:00