hush/networking
Denys Vlasenko 777be10ebe ntpd: do not invalidate datapoints after step
Used to set p->filter_datapoint[i].d_dispersion = MAXDISP
and clear reachable bits, but this proved to be too agressive:
after step (tested with suspinding laptop for ~30 secs),
this caused all previous data to be considered invalid,
making us needing to collect full ~8 datapoins per peer
after step in order to start trusting them.
In turn, this was making poll interval decrease even after
step was done. (Poll interval decreases already before step
in this scenario, because we see large offsets and end up with
no good peer to select).

function                                             old     new   delta
reset_peer_stats                                     157     139     -18

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2013-12-07 17:29:03 +01:00
..
libiproute iplink: comment out include <net/if_packet.h> 2013-08-16 12:20:25 +02:00
udhcp udhcp: add PXELINUX config file option (code 209) definition 2013-11-12 11:18:26 +01:00
arp.c Use unsigned printf/scanf conversion where more appropriate 2013-11-29 16:45:45 +01:00
arping.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
brctl.c whitespace cleanup. no code changes 2013-01-14 15:57:44 +01:00
Config.src wget: add support for connect timeout 2013-10-12 21:47:07 +02:00
dnsd.c typo fixes 2011-07-08 05:47:49 +02:00
ether-wake.c ether-wake: shorten help text, reduce packet buffer size 2013-10-14 19:04:20 +02:00
ftpd.c ftpd: free allocated string on error path 2012-07-11 00:26:24 +02:00
ftpgetput.c ftp{get,put}: tweak help text 2012-03-19 12:22:57 +01:00
hostname.c hostname: make -i not emit extra trailing space 2012-04-01 16:52:21 +02:00
httpd_indexcgi.c httpd_indexcgi.c: fix compile failure 2012-09-03 12:20:10 +02:00
httpd_post_upload.txt httpd_post_upload.txt example: handle binary files too 2009-11-13 09:37:50 +01:00
httpd_ssi.c whitespace fixes. no code changes 2013-01-14 01:34:48 +01:00
httpd.c httpd: make sire pfd[TO_CGI].revents is cleared before poll() 2013-09-18 12:08:41 +02:00
ifconfig.c fix build error with musl libc due to if_slip.h 2013-08-15 09:54:51 +02:00
ifenslave.c whitespace cleanup. no code changes 2013-01-14 15:57:44 +01:00
ifplugd.c ifplugd: use a larger netlink buffer 2013-08-04 18:10:26 +02:00
ifupdown.c ifupdown: support "source" stanza in /etc/network/interfaces 2013-02-28 19:01:28 +01:00
inetd.c CONFIG_PID_FILE_PATH: new configuration option for pidfile paths 2012-12-19 15:53:33 -05:00
interface.c networking: fix potential overflow in ife_print6() 2013-08-14 17:43:05 +02:00
ip.c iproute: fix help text 2011-12-06 18:59:55 +01:00
ipcalc.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
isrv_identd.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
isrv.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
isrv.h *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
Kbuild.src ping: add -t TTL option 2010-11-28 23:01:18 +01:00
nameif.c nameif: fix use-after-free in ENABLE_FEATURE_CLEAN_UP code 2013-02-28 10:31:54 +01:00
nbd-client.c mass removal of underscores from _BB_DIR_foo and _BB_SUID_foo 2011-01-18 13:58:01 +01:00
nc_bloaty.c nc: remove unnecessary "errno = 0" 2013-07-29 14:18:32 +02:00
nc.c nc: use symbolic SHUT_WR instead of literal 1 2013-07-28 21:08:37 +02:00
netstat.c Use unsigned printf/scanf conversion where more appropriate 2013-11-29 16:45:45 +01:00
nslookup.c nslookup: set default DNS server again. Hopefully helps with 675 2013-06-27 01:09:51 +02:00
ntpd_simple.c libbb: introduce and use strftime_[YYYYMMDD]HHMMSS() 2013-03-29 12:30:33 +01:00
ntpd.c ntpd: do not invalidate datapoints after step 2013-12-07 17:29:03 +01:00
ping.c ping: try SOCK_DGRAM if no root privileges 2013-11-28 12:50:25 +01:00
pscan.c Use unsigned printf/scanf conversion where more appropriate 2013-11-29 16:45:45 +01:00
route.c ifconfig: do not accept "ifconfig eth0 up 1.2.3.4/17" (ip with mask). Closes 5786 2013-01-20 18:10:12 +01:00
slattach.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
tc.c fix assorted unused code and wrong format specs found by cppchekc (bug 6716) 2013-11-29 16:43:33 +01:00
tcpudp_perhost.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
tcpudp_perhost.h *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
tcpudp.c tcpudp: simplify help text 2011-07-25 16:35:44 +02:00
telnet.c telnet: code shrink 2013-05-12 02:13:24 +02:00
telnetd.c telnet: convert CR -> CR LF, not CR -> CR NUL when sending data to server 2012-09-13 13:00:49 +02:00
telnetd.ctrlSQ.patch *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
tftp.c tftpd: fix -u USER to work with chroot. Closes 5348 2012-07-18 17:32:32 +02:00
traceroute.c fix assorted unused code and wrong format specs found by cppchekc (bug 6716) 2013-11-29 16:43:33 +01:00
tunctl.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
vconfig.c vconfig: fix help text; small code shrink. Closes 4658 2012-01-16 04:00:37 +01:00
wget.c wget: if FEATURE_CLEAN_UP, free(ptr_to_globals) 2013-10-16 14:43:30 +02:00
whois.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
zcip.c add INIT_G()'s. No code changes. 2011-09-21 01:59:15 +02:00