Branch: refs/heads/master Home: https://github.com/openSUSE/wicked Commit: bcf4f7f9d075be0c928f2a201f32aa9af5872a69 https://github.com/openSUSE/wicked/commit/bcf4f7f9d075be0c928f2a201f32aa9af5... Author: Marius Tomaschewski <mt@suse.de> Date: 2022-10-05 (Wed, 05 Oct 2022) Changed paths: M src/dhcp4/device.c M src/dhcp4/dhcp4.h M src/dhcp4/fsm.c Log Message: ----------- dhcp4: adopt to use reference counted lease utils Commit: fa6e984739d16043bfc2af30aa13cfc30e71aa35 https://github.com/openSUSE/wicked/commit/fa6e984739d16043bfc2af30aa13cfc30e... Author: Marius Tomaschewski <mt@suse.de> Date: 2022-10-05 (Wed, 05 Oct 2022) Changed paths: M src/dhcp4/device.c M src/dhcp4/dhcp4.h M src/dhcp4/protocol.c Log Message: ----------- dhcp4: move socket close to utility function Commit: 1296c4cff01756d859e0f6546e4066dcccc761fd https://github.com/openSUSE/wicked/commit/1296c4cff01756d859e0f6546e4066dccc... Author: Marius Tomaschewski <mt@suse.de> Date: 2022-10-05 (Wed, 05 Oct 2022) Changed paths: M src/dhcp4/dhcp4.h M src/dhcp4/fsm.c Log Message: ----------- dhcp4: move backoff definition to dhcp4.h header Commit: c99c6294663506ea5341be9d5b5907dace94d3b1 https://github.com/openSUSE/wicked/commit/c99c6294663506ea5341be9d5b5907dace... Author: Marius Tomaschewski <mt@suse.de> Date: 2022-10-05 (Wed, 05 Oct 2022) Changed paths: M include/wicked/time.h M src/timer.c Log Message: ----------- timer: add decrementing to timeout param recompute Commit: 9b72394c3fc71aaf197b61177983831f911eefdd https://github.com/openSUSE/wicked/commit/9b72394c3fc71aaf197b61177983831f91... Author: Marius Tomaschewski <mt@suse.de> Date: 2022-10-05 (Wed, 05 Oct 2022) Changed paths: M src/dhcp4/fsm.c Log Message: ----------- dhcp4: add lease time and timeout param init utils Commit: a1ee804b3251d14597d654df4273068ec88bdb39 https://github.com/openSUSE/wicked/commit/a1ee804b3251d14597d654df4273068ec8... Author: Marius Tomaschewski <mt@suse.de> Date: 2022-10-05 (Wed, 05 Oct 2022) Changed paths: M src/dhcp4/device.c M src/dhcp4/dhcp4.h M src/dhcp4/fsm.c Log Message: ----------- dhcp4: use separate delay,defer,acquire timer Commit: 3f0c42b0be87bf97ae065342f76e8dd3aacb5395 https://github.com/openSUSE/wicked/commit/3f0c42b0be87bf97ae065342f76e8dd3aa... Author: Marius Tomaschewski <mt@suse.de> Date: 2022-10-06 (Thu, 06 Oct 2022) Changed paths: M src/dhcp4/device.c M src/dhcp4/dhcp4.h M src/dhcp4/fsm.c M src/dhcp4/protocol.c Log Message: ----------- dhcp4: cleanup retransmissions and state changes Also do not calculate retransmission times using unrelated defer and acquire timeouts and fix the lease acquired time (transmit start) vs secs (start time) in offer request. Commit: d836dc96ff9162df4a12d8906587ccff1c816985 https://github.com/openSUSE/wicked/commit/d836dc96ff9162df4a12d8906587ccff1c... Author: Marius Tomaschewski <mt@suse.de> Date: 2022-10-06 (Thu, 06 Oct 2022) Changed paths: M src/dhcp4/device.c M src/dhcp4/dhcp4.h M src/dhcp4/fsm.c M src/dhcp4/protocol.h Log Message: ----------- dhcp4: cleanup lease time calculation and schedule Commit: 04107b225b6f4799f41f87c272ab3ec733a90ba8 https://github.com/openSUSE/wicked/commit/04107b225b6f4799f41f87c272ab3ec733... Author: Marius Tomaschewski <mt@suse.de> Date: 2022-10-06 (Thu, 06 Oct 2022) Changed paths: M src/dhcp4/device.c M src/dhcp4/fsm.c Log Message: ----------- dhcp4: cleanup lease verify and recover Commit: d6c6ed40cbf358934aa38eaa2a7dffa58e879cf3 https://github.com/openSUSE/wicked/commit/d6c6ed40cbf358934aa38eaa2a7dffa58e... Author: Marius Tomaschewski <mt@suse.de> Date: 2022-10-12 (Wed, 12 Oct 2022) Changed paths: M src/dhcp4/dhcp4.h M src/dhcp4/fsm.c Log Message: ----------- dhcp4: adjust duplicate address check while reboot Commit: 8cca24335e2fc5775f8eab036547c097a8afa410 https://github.com/openSUSE/wicked/commit/8cca24335e2fc5775f8eab036547c097a8... Author: Marius Tomaschewski <mt@suse.de> Date: 2022-10-12 (Wed, 12 Oct 2022) Changed paths: M src/dhcp4/device.c Log Message: ----------- dhcp4: move sending log message to prepare message Commit: ac66c96c74a3ff84dc8ffa6df20cf2e086cf592d https://github.com/openSUSE/wicked/commit/ac66c96c74a3ff84dc8ffa6df20cf2e086... Author: Marius Tomaschewski <mt@suse.de> Date: 2022-10-12 (Wed, 12 Oct 2022) Changed paths: M dhcp4/main.c M src/dhcp4/dhcp4.h M src/dhcp4/fsm.c M src/dhcp4/tester.c Log Message: ----------- dhcp4: log interface and dhcp event as names Commit: c1bcfef723b03062e740815531886e959f280311 https://github.com/openSUSE/wicked/commit/c1bcfef723b03062e740815531886e959f... Author: Marius Tomaschewski <mt@suse.de> Date: 2022-10-12 (Wed, 12 Oct 2022) Changed paths: M src/dhcp4/device.c M src/dhcp4/dhcp4.h Log Message: ----------- dhcp4: use netdev linkinfo instead of own copy Commit: c9ae90f7f414b2e106e8874cd216457dad266025 https://github.com/openSUSE/wicked/commit/c9ae90f7f414b2e106e8874cd216457dad... Author: Marius Tomaschewski <mt@suse.de> Date: 2022-10-12 (Wed, 12 Oct 2022) Changed paths: M src/dhcp4/device.c M src/dhcp4/dhcp4.h M src/dhcp4/fsm.c Log Message: ----------- dhcp4: handle link down state and reconnect Commit: ca82ef2b9441fa97493d71858158cbcc7c517dfd https://github.com/openSUSE/wicked/commit/ca82ef2b9441fa97493d71858158cbcc7c... Author: Marius Tomaschewski <mt@suse.de> Date: 2022-10-12 (Wed, 12 Oct 2022) Changed paths: M src/dhcp4/lease.c M src/leasefile.c Log Message: ----------- dhcp4: restore address list and routes from lease file Add loading/saving of sender-hw-address, route priority and pref-source in dhcp4 lease files. Commit: e89ead125bd9bb93c654905bbd046e3636d43331 https://github.com/openSUSE/wicked/commit/e89ead125bd9bb93c654905bbd046e3636... Author: Marius Tomaschewski <mt@suse.de> Date: 2022-10-12 (Wed, 12 Oct 2022) Changed paths: M src/addrconf.c Log Message: ----------- lease: init update mask and free dhcp4 sender Commit: f6464ab35cea9725f9644b96058eae5e518ce10d https://github.com/openSUSE/wicked/commit/f6464ab35cea9725f9644b96058eae5e51... Author: Marius Tomaschewski <mt@suse.de> Date: 2022-10-12 (Wed, 12 Oct 2022) Changed paths: M src/route.c Log Message: ----------- route: fix route tables copy used in lease clone Commit: 8971dabf4dd014e7c1367ea5db4a9b05d921a860 https://github.com/openSUSE/wicked/commit/8971dabf4dd014e7c1367ea5db4a9b05d9... Author: cfconrad <40127946+cfconrad@users.noreply.github.com> Date: 2022-10-13 (Thu, 13 Oct 2022) Changed paths: M dhcp4/main.c M include/wicked/time.h M src/addrconf.c M src/dhcp4/device.c M src/dhcp4/dhcp4.h M src/dhcp4/fsm.c M src/dhcp4/lease.c M src/dhcp4/protocol.c M src/dhcp4/protocol.h M src/dhcp4/tester.c M src/leasefile.c M src/route.c M src/timer.c Log Message: ----------- Merge pull request https://github.com/openSUSE/wicked/pull/934 dhcp4: fix reuse of last lease and retransmissions (bsc#1187655) When we restart/reboot and have a still unexpired lease, try to confirm (dhcp reboot) it or get a new one, but reuse it at defer-timeout if the dhcp server currently does not respond. Also, adjust dhcp state message retransmission timings and don't mix acquire/defer timeouts into their calculation. Compare: https://github.com/openSUSE/wicked/compare/7d704bc92a71...8971dabf4dd0