]> Git Repo - J-u-boot.git/commit
net: tftpput: reset timeout_count when an ACK is received
authorJerome Forissier <[email protected]>
Fri, 29 Nov 2024 14:47:32 +0000 (15:47 +0100)
committerTom Rini <[email protected]>
Wed, 1 Jan 2025 20:40:04 +0000 (14:40 -0600)
commiteeee0e2b850d2b76d102fc1acca9e3101b1baf3a
treec4b2a7a20856ab60d7725ed14eef44fdf79fcaa3
parentda53e03290600c9c34e6806d4ec5d2db9bc3a1a6
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 <[email protected]>
Signed-off-by: Mikhail Kshevetskiy <[email protected]>
net/tftp.c
This page took 0.032649 seconds and 4 git commands to generate.