commit | e5b5dd097463f0ed1d7f665c85f55701081b9c70 | [log] [tgz] |
---|---|---|
author | Jerome Forissier <jerome.forissier@linaro.org> | Fri Nov 29 15:47:32 2024 +0100 |
committer | Tom Rini <trini@konsulko.com> | Wed Jan 01 14:40:04 2025 -0600 |
tree | c4b2a7a20856ab60d7725ed14eef44fdf79fcaa3 | |
parent | 985eb7376b4d22318da7bbef73239d6ccea4731a [diff] |
net: tftpput: reset timeout_count when an ACK is received timeout_count is never reset once a tftpput transfer has started. If for whatever reason timeouts occur frequently, but the server keeps replying nonetheless, the transfer may be needlessly aborted. Reset timer_count on reception of an ACK to avoid this situation. Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>