]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: tftp: fix tftp server initialization
authorArjan Minzinga Zijlstra <arjan.minzingazijlstra@fox-it.com>
Thu, 31 Mar 2022 08:03:16 +0000 (08:03 +0000)
committerRamon Fried <ramon@neureality.ai>
Tue, 12 Apr 2022 19:41:27 +0000 (22:41 +0300)
commit1ffe366881a3fd474737f67f2e9fb5bf40104fd3
treebe094c474604179a6807c13e467559dceaf84b15
parentd79f1a85697e3af24a97728f6e4f16635bdc8290
net: tftp: fix tftp server initialization

Some globals where not properly initialized causing timeouts
as data packets where not immediately acknowledged.

Fixes: cc6b87ecaa96 ("net: tftp: Add client support for RFC 7440")
Signed-off-by: Arjan Minzinga Zijlstra <arjan.minzingazijlstra@fox-it.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
net/tftp.c