[U-Boot] [PATCH] pxe: clear Bootfile before returning

Stephen Warren
2014-08-06T15:56:58Z

On 07/23/2014 03:56 PM, Joe Hershberger wrote:
>
> On Wed, Jul 23, 2014 at 4:41 PM, Stephen Warren <swarren@wwwdotorg.org
> <mailto:swarren@wwwdotorg.org>> wrote:
> >
> > On 07/23/2014 03:37 PM, Joe Hershberger wrote:
> > >
> > > On Tue, Jul 22, 2014 at 7:06 PM, Stephen Warren
> <swarren at wwwdotorg.org <mailto:swarren@wwwdotorg.org>
> > > <mailto:swarren at wwwdotorg.org <mailto:swarren@wwwdotorg.org>>> wrote:
> > >>
> > >> From: Stephen Warren <swarren@nvidia.com
> <mailto:swarren@nvidia.com> <mailto:swarren@nvidia.com
> <mailto:swarren@nvidia.com>>>
> > >>
> > >> When "pxe boot" downloads the initrd/kernel/DTB, netboot_common()
> saves
> > >> the downloaded filename to global variable BootFile. If the boot
> > >> operation is aborted, this global state is not cleared. If "dhcp" is
> > >> executed later without any arguments, BootFile is not cleared, and
> when
> > >> the DHCP response is received, BootpCopyNetParams() writes the
> value into
> > >> environment variable bootfile.
> > ...
> > > Acked-by: Joe Hershberger <joe.hershberger@ni.com
> <mailto:joe.hershberger@ni.com>
> > > <mailto:joe.hershberger at ni.com <mailto:joe.hershberger@ni.com>>>
> >
> > Thanks. I'm not sure if you ack'd this simply so you'd remember you'd
> > reviewed it, or because you expect someone else to apply the change? If
> > the latter, I should forward the patch to them so they know about it:-)
>
> Partly for me to remember and partly because recently Tom has been
> picking these few net things up directly.

Tom, are you planning on picking up this patch?