Files
u-boot/include
Jerome Forissier 90c05f68fc net: lwip: ping: set net_try_count to 1
The legacy network stack sets net_try_count to 1 at the beginning of the
net_loop() function. This is required for net_start_again() to work
properly. Therefore, set the variable accordingly in the do_ping()
function when NET_LWIP=y. This fixes an issue where a ping to an
unreachable destination would run twice on the same network device. For
example with qemu_arm64_lwip_defconfig:

 => dhcp
 DHCP client bound to address 10.0.2.15 (3 ms)
 => ping 10.0.0.1
 Using virtio-net#32 device
 ping failed; host 10.0.0.1 is not alive
 Using virtio-net#32 device
 ping failed; host 10.0.0.1 is not alive
 => QEMU: Terminated

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
2025-08-18 15:47:58 +02:00
..
2025-08-06 08:36:59 +02:00
2022-10-30 20:07:16 +01:00
2022-09-29 16:07:57 -04:00
2024-10-17 03:12:47 +02:00
2022-09-24 10:47:01 -04:00
2022-07-26 02:30:56 -06:00
2025-06-02 17:26:15 -06:00
2024-07-29 15:01:04 -06:00
2023-12-21 08:54:37 -05:00
2025-07-23 17:37:14 -06:00
2024-08-26 14:05:38 -06:00
2025-06-12 16:14:33 -06:00
2024-02-13 15:38:49 -05:00
2024-07-29 15:01:04 -06:00
2025-06-02 17:26:15 -06:00
2025-06-11 09:42:55 +02:00
2025-05-29 08:29:16 -06:00
2025-06-02 17:26:15 -06:00
2025-08-06 08:41:30 +02:00
2025-06-02 17:26:15 -06:00
2024-06-14 12:59:07 -06:00
2022-03-15 16:19:29 -04:00
2022-04-06 14:01:42 -04:00
2024-07-29 15:01:04 -06:00
2023-05-02 14:23:34 -04:00
2025-06-02 17:26:15 -06:00
2024-09-24 13:41:20 -06:00
2025-07-24 08:54:15 +02:00
2025-05-13 11:30:09 -06:00
2022-10-18 09:32:53 +08:00
2023-01-20 12:27:06 -05:00
2024-07-29 15:01:04 -06:00
2025-06-27 11:48:20 -06:00
2022-07-26 11:29:00 +02:00
2024-07-29 15:01:04 -06:00
2023-11-07 14:50:51 -05:00
2025-06-02 17:26:16 -06:00
2024-07-29 15:01:04 -06:00
2024-08-13 06:23:15 +02:00
2025-08-06 08:41:30 +02:00
2025-06-02 17:26:16 -06:00
2025-06-23 16:15:23 -06:00
2025-03-10 07:41:16 +01:00
2023-12-21 11:59:49 -05:00
2022-10-30 20:07:17 +01:00
2025-04-03 11:41:54 -06:00
2023-12-21 08:54:37 -05:00
2025-04-03 16:54:49 -06:00
2024-07-29 15:01:04 -06:00
2025-03-11 23:06:18 +01:00
2024-07-29 15:01:04 -06:00
2024-10-24 11:21:48 -06:00
2024-07-29 15:01:04 -06:00
2024-07-29 15:01:04 -06:00
2025-07-08 13:11:12 -06:00
2025-05-29 08:30:25 -06:00
2025-07-08 11:07:37 +02:00
2025-08-18 15:47:58 +02:00
2024-11-25 23:07:37 -03:00
2024-09-30 17:48:12 -06:00
2025-07-08 13:11:12 -06:00
2025-05-05 14:16:50 -06:00
2025-03-19 03:38:51 +01:00
2023-01-16 18:01:10 +08:00
2024-09-12 17:35:37 +02:00
2023-12-21 08:54:37 -05:00
2025-07-08 13:11:12 -06:00
2025-05-29 18:35:49 -06:00
2022-04-01 15:03:13 -04:00
2025-01-14 14:29:29 -06:00
2024-07-29 15:01:04 -06:00
2025-04-16 19:57:19 -06:00
2025-06-13 13:22:53 -06:00
2025-02-28 08:41:54 -06:00
2023-02-10 07:41:40 -05:00
2024-07-29 15:01:04 -06:00
2025-02-11 20:10:58 -06:00
2025-01-07 15:45:51 +02:00
2025-01-01 10:40:33 -06:00
2025-07-11 10:43:29 -06:00
2024-07-29 15:01:04 -06:00
2022-12-07 16:04:17 -05:00
2024-07-29 15:01:04 -06:00
2025-02-03 16:01:36 -06:00
2024-11-13 08:14:23 -06:00
2024-07-29 15:01:04 -06:00