[PATCH] net: tftp: fix tftp server initialization

Arjan Minzinga Zijlstra arjan.minzingazijlstra at fox-it.com
Mon Apr 11 13:21:38 CEST 2022


> On Thu, Mar 31, 2022 at 2:50 PM Arjan Minzinga Zijlstra <arjan.minzingazijlstra at fox-it.com> wrote:
> > Some globals where not properly initialized causing timeouts
> > as data packets where not immediately acknowledged.
> I don't see a scenario where these two variables will not be initialized.
> Can you please elaborate ?
These variables are only set on tftp oack packets (which are optional AFAIK) and in the tftp_start() function.
However when running the tftpsrv cmd, tftp_start_server() is called, which didn't initialized said variables.



More information about the U-Boot mailing list