[PATCH 0/2] ltq-vdsl-vr11(-app): don't retry L3 requests to stop more quickly
Jan Hoffmann
jan at 3e8.eu
Thu Jan 30 02:19:28 PST 2025
I noticed that my previous change cf6d52f45af1 ("ltq-vdsl-vr11-app:
perform orderly shutdown on exit") does not actually play very nicely
with sysupgrade.
The attempt for orderly shutdown of the DSL connection might take so
long that the vdsl_cpe_control daemon is killed forcibly, and does not
stop the DSL connection at all.
This changes the driver/daemon to only try a single L3 request instead
of up to three ones to avoid this.
Not quite sure if this is the right solution or really necessary.
(On my own actual DSL connection, the L3 request always runs into the
timeout in the driver, because the modem never responds. It works when
using a Planet VC-231G as a "DSLAM", so it is clear the feature in the
driver/modem does work in general.)
Jan Hoffmann (2):
ltq-vdsl-vr11: add option for L3 request without retry on failure
ltq-vdsl-vr11-app: exit more quickly if orderly shutdown fails
package/kernel/lantiq/ltq-vdsl-vr11/Makefile | 2 +-
.../patches/300-l3-request-no-retry.patch | 46 +++++++++++++++++++
.../network/config/ltq-vdsl-vr11-app/Makefile | 2 +-
.../patches/201-orderly-shutdown.patch | 2 +-
4 files changed, 49 insertions(+), 3 deletions(-)
create mode 100644 package/kernel/lantiq/ltq-vdsl-vr11/patches/300-l3-request-no-retry.patch
--
2.48.1
More information about the openwrt-devel
mailing list