busybox/networking
Denys Vlasenko 28634924f0 udhcpc: account for script run time
Based on the following user report:

I ran into an issue where I was seeing a long delay in the scripts called
in udhcp_run_script. I was using an old version of OpenWrt (kamikaze)
and a satellite modem. An NTP script was being called and the modem
would sometimes take a long time to respond to the DNS lookup when
it was offline.

This delay started affecting my lease time. The lease that I would
get from my satellite modem before it was online would be short:
only 60 seconds. The delay with NTP and the modem would typically
be about 18 seconds. This would cause the first DHCP renew request
from dhcpc to be a little late. Under certain circumstances,
I could even see the first DHCP renew to occur after the lease
had expired!

function                                             old     new   delta
udhcpc_main                                         2816    2837     +21

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2014-12-21 16:10:22 +01:00
..
libiproute iproute: support onelink route option and print route flags 2014-11-17 19:35:41 +01:00
ssl_helper networking/ssl_helper: experimental matrixssl-based ssl helper 2014-02-23 23:31:13 +01:00
udhcp udhcpc: account for script run time 2014-12-21 16:10:22 +01:00
arp.c Use unsigned printf/scanf conversion where more appropriate 2013-11-29 16:45:45 +01:00
arping.c
brctl.c whitespace cleanup. no code changes 2013-01-14 15:57:44 +01:00
Config.src libbb: use sendfile() to copy data between file descriptors 2014-11-27 23:31:58 +01:00
dnsd.c
ether-wake.c ether-wake: shorten help text, reduce packet buffer size 2013-10-14 19:04:20 +02:00
ftpd.c ftpd: make LIST command show dotfiles too 2014-09-15 23:35:58 +02:00
ftpgetput.c
hostname.c hostname: do not use gethostbyname() for "hostname -s" 2013-12-17 19:13:45 +01:00
httpd_indexcgi.c
httpd_post_upload.txt
httpd_ssi.c
httpd.c libbb: use sendfile() to copy data between file descriptors 2014-11-27 23:31:58 +01: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: code shrink 2014-02-10 09:51:03 +01:00
ifupdown.c libbb: rename execable -> executable. No code changes 2014-05-02 17:15:58 +02:00
inetd.c
interface.c networking: fix potential overflow in ife_print6() 2013-08-14 17:43:05 +02:00
ip.c
ipcalc.c
isrv_identd.c fakeidentd: simplify ndelay manipulations 2014-01-10 17:12:54 +01:00
isrv.c
isrv.h fixlet for the previous commit #2 2014-01-09 20:09:43 +01:00
Kbuild.src
nameif.c nameif: fix use-after-free in ENABLE_FEATURE_CLEAN_UP code 2013-02-28 10:31:54 +01:00
nbd-client.c
nc_bloaty.c nc: fix option bit positions. Closes 6926 2014-02-26 13:58:59 +01: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 use [s]rand(), not [s]random() 2014-03-05 18:58:15 +01:00
ntpd.c ntpd: calculate offset to jitter ratio before updating jitter 2014-10-05 03:11:53 +02:00
ping.c ping: add -p to specify data pattern 2014-08-27 16:01:25 +02:00
pscan.c Use unsigned printf/scanf conversion where more appropriate 2013-11-29 16:45:45 +01:00
route.c libbb: use a wrapper around sysconf(_SC_CLK_TCK) to save a few bytes 2014-06-22 14:01:13 +02:00
slattach.c
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
tcpudp_perhost.h
tcpudp.c
telnet.c telnet: code shrink 2013-05-12 02:13:24 +02:00
telnetd.c
telnetd.ctrlSQ.patch
tftp.c tftpd: tweak HP PA-RISC firmware bug compatibility 2014-09-04 12:24:03 +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
vconfig.c
wget.c wget: fix a case where progress bar isn't updated if writes are very slow 2014-03-27 16:50:29 +01:00
whois.c
zcip.c zcip: Add environment variable for overriding log functionality 2014-11-04 12:19:04 +01:00