ltq-vdsl-vr11-app: exit more quickly if orderly shutdown fails
authorJan Hoffmann <jan@3e8.eu>
Thu, 30 Jan 2025 10:19:30 +0000 (11:19 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 22 Feb 2025 17:55:54 +0000 (18:55 +0100)
commit4baf162d832498b791b9c7af7669f49d52b76577
tree3836ded13701d4265c4f47a15c73673e70f1c09d
parent03bbd36e67e5f4cc9fa838c7d773077c05f6ce16
ltq-vdsl-vr11-app: exit more quickly if orderly shutdown fails

On exit, the app tries to do an orderly shutdown of the DSL connection
before it is stopped forcibly. Since the driver does 3 attempts with a
timeout of 2 seconds each, this might take about 6 seconds in the worst
case.

This is problematic on sysupgrade, because any process that doesn't exit
within 4 seconds is killed. This means that the DSL connection might not
be stopped at all before the actual system upgrade begins.

To avoid this, use the newly added option in the driver to not retry the
L3 request on failure.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250130102108.1606919-3-jan@3e8.eu/
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/network/config/ltq-vdsl-vr11-app/Makefile
package/network/config/ltq-vdsl-vr11-app/patches/201-orderly-shutdown.patch