diff options
author | Denys Vlasenko | 2021-05-01 11:54:08 +0200 |
---|---|---|
committer | Denys Vlasenko | 2021-05-01 12:23:25 +0200 |
commit | a1a77ad5eae7384dd6b1ccaa436a1df48c3c9cd7 (patch) | |
tree | f0735af73f2e4ec8c1ac98e9db10092943ffa263 /qemu_multiarch_testing/README | |
parent | e71ea6c1f84318d8655a5783736288695174f596 (diff) | |
download | busybox-a1a77ad5eae7384dd6b1ccaa436a1df48c3c9cd7.zip busybox-a1a77ad5eae7384dd6b1ccaa436a1df48c3c9cd7.tar.gz |
udhcpc[6]: untangle "timeout" and "remaining lease"; reduce min lease to 30 seconds
This allows to fix a problem that we wait for renew replies
for up to half the lease (!!!) if they never come.
Make it so that lease of 60 seconds is not "rounded up" to 120 seconds -
set lower "sanity limit" to 30 seconds.
After 3 failed renew attempts, switch to rebind.
After this change, we can have more flexible choice of when to do
the first renew - does not need to be equal to lease / 2.
function old new delta
udhcpc6_main 2568 2576 +8
.rodata 103339 103294 -45
udhcpc_main 2609 2550 -59
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 8/-104) Total: -96 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'qemu_multiarch_testing/README')
0 files changed, 0 insertions, 0 deletions