[PATCH] net: tftp: fix tftp server initialization

Ramon Fried rfried.dev at gmail.com
Tue Apr 12 21:38:57 CEST 2022


On Mon, Apr 11, 2022 at 2:21 PM Arjan Minzinga Zijlstra
<arjan.minzingazijlstra at fox-it.com> wrote:
>
> > 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.
>
OK. I understand. I'll rework your patch a bit and submit. thanks !


More information about the U-Boot mailing list