Skip to content
Commit beb61e13 authored by Harm Berntsen's avatar Harm Berntsen Committed by Tom Rini
Browse files

net: tftp: Fix incorrect tftp_next_ack on no OACK



When the tftp server did not send any OACK, the tftp_next_ack variable
was not set to the correct value . As the server was transmitting
blocks we generated a lot of 'Received unexpected block: $n, expected
$n+1' error messages. Depending on the timeout setting the transfer
could still complete though.

Signed-off-by: default avatarHarm Berntsen <harm.berntsen@nedap.com>
CC: Ramon Fried <rfried.dev@gmail.com>
Reviewed-By: default avatarRamon Fried <rfried.dev@gmail.com>
parent 51723c55
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment