From 91ba691871a8da3e659314bff47f466d9da308c3 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sun, 19 Oct 2025 00:00:00 +0200 Subject: [PATCH] patches: remove busybox udhcpc endless loop fix Remove busybox udhcpc endless loop fix as this issue no longer exists in the busybox version included in OpenWrt 24.10. Signed-off-by: John Crispin --- ...ould-enter-an-endless-loop-if-the-in.patch | 34 ------------------- 1 file changed, 34 deletions(-) delete mode 100644 patches/0009-busybox-udhcpc-would-enter-an-endless-loop-if-the-in.patch diff --git a/patches/0009-busybox-udhcpc-would-enter-an-endless-loop-if-the-in.patch b/patches/0009-busybox-udhcpc-would-enter-an-endless-loop-if-the-in.patch deleted file mode 100644 index 5180751f9..000000000 --- a/patches/0009-busybox-udhcpc-would-enter-an-endless-loop-if-the-in.patch +++ /dev/null @@ -1,34 +0,0 @@ -From c588df50abd3b394e7468f432434f70f03976a4a Mon Sep 17 00:00:00 2001 -From: John Crispin -Date: Thu, 9 Nov 2023 12:28:38 +0100 -Subject: [PATCH 09/68] busybox: udhcpc would enter an endless loop if the - interface is down - -Signed-off-by: John Crispin ---- - .../busybox/patches/532-dhcp-socket-reopen.patch | 13 +++++++++++++ - 1 file changed, 13 insertions(+) - create mode 100644 package/utils/busybox/patches/532-dhcp-socket-reopen.patch - -diff --git a/package/utils/busybox/patches/532-dhcp-socket-reopen.patch b/package/utils/busybox/patches/532-dhcp-socket-reopen.patch -new file mode 100644 -index 0000000000..17cec7764a ---- /dev/null -+++ b/package/utils/busybox/patches/532-dhcp-socket-reopen.patch -@@ -0,0 +1,13 @@ -+Index: busybox-1.36.1/networking/udhcp/dhcpc.c -+=================================================================== -+--- busybox-1.36.1.orig/networking/udhcp/dhcpc.c -++++ busybox-1.36.1/networking/udhcp/dhcpc.c -+@@ -1638,6 +1645,8 @@ int udhcpc_main(int argc UNUSED_PARAM, c -+ bb_error_msg("read error: "STRERROR_FMT", reopening socket" STRERROR_ERRNO); -+ sleep(discover_timeout); /* 3 seconds by default */ -+ change_listen_mode(client_data.listen_mode); /* just close and reopen */ -++ packet_num++; -++ timeout = 0; -+ } -+ if (len < 0) -+ continue; --- -2.34.1 -