]> git.baikalelectronics.ru Git - uboot.git/commit
net: tftp: Avoid sending extra ack on completion
authorRamon Fried <rfried.dev@gmail.com>
Wed, 3 Feb 2021 19:28:59 +0000 (21:28 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 18 Feb 2021 13:20:34 +0000 (08:20 -0500)
commit9d7576630a59fd1bad5dc5fecd4e3d96bdecb104
treecdbfee4bfbcbae522bd4cccff515ec7197e9a88e
parentfa2ebcfca9861c511cc3ae91794848985d2b862c
net: tftp: Avoid sending extra ack on completion

in tftpboot, if ack was already sent previously for this
packet, don't send again.

Fixes: dcb3d41bc583 ("net: tftp: Add client support for RFC 7440")
Reported-by: Suneel Garapati <suneelglinux@gmail.com>
Signed-off-by: Ramon Fried <rfried.dev@gmail.com>
Tested-by: Suneel Garapati <suneelglinux@gmail.com>
Tested-by: Oliver Graute <oliver.graute@kococonnector.com>
net/tftp.c