diff options
author | Tim Harvey <tharvey@gateworks.com> | 2025-05-30 08:38:22 -0700 |
---|---|---|
committer | Jerome Forissier <jerome.forissier@linaro.org> | 2025-07-08 09:53:59 +0200 |
commit | 08a8d1455a0f5f3ac7c2692a0b9ae6e98aea0291 (patch) | |
tree | 40838ea5c451388cd1e9d75ff92be204f8bbf556 /net/lwip/dns.c | |
parent | b379335f141e3ddca0cdbb5d9d39af0444530542 (diff) |
net: lwip: call sys_check_timeouts and schedule on rx
Call schedule() in net_lwip_rx() to service U-Boot tasks and
actions during packet rx.
As a cleanup also move sys_check_timeouts() here and remove it from the
functions that call net_lwip_rx().
This resolves the issue of an active watchdog resetting the board on
long network activities.
Suggested-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Diffstat (limited to 'net/lwip/dns.c')
-rw-r--r-- | net/lwip/dns.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/lwip/dns.c b/net/lwip/dns.c index 6862869d9e3..3c9867902db 100644 --- a/net/lwip/dns.c +++ b/net/lwip/dns.c @@ -92,7 +92,6 @@ static int dns_loop(struct udevice *udev, const char *name, const char *var) net_lwip_rx(udev, netif); if (dns_cb_arg.done) break; - sys_check_timeouts(); if (ctrlc()) { printf("\nAbort\n"); break; |