summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_root_node.c
diff options
context:
space:
mode:
authorMikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>2025-01-01 06:20:16 +0300
committerTom Rini <trini@konsulko.com>2025-01-01 14:35:46 -0600
commit395ee74991aaeac3c0ba0aa505f108571a107da7 (patch)
treea1ba2bd2ef781d8270217a593c09476d4e60bdd5 /lib/efi_loader/efi_root_node.c
parent2eb74974de5204835e81b81098dab1591fd99df5 (diff)
net: tftpboot: clear timeout_count on every successful block
We have a some boards that rarely starts networking abnormally, so there are many timeouts during file transfer. In the same time there is a normal transfer between timeouts. In this case we can continue transfer (instead of connection aborting) by just clearing timeout counter on every successful block. This patch does not affect the case when several timeouts happen one after another. The transfer will be aborted. Thus the transfer will be continued in the case of unstable link, but will be aborted in the case of inaccessible server. Feature downside: it may greatly slowdown (instead of abort) file transfer in the case of unstable link. Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Diffstat (limited to 'lib/efi_loader/efi_root_node.c')
0 files changed, 0 insertions, 0 deletions