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

Stephen Warren swarren at wwwdotorg.org
Wed Aug 6 17:56:58 CEST 2014


On 07/23/2014 03:56 PM, Joe Hershberger wrote:
>
> On Wed, Jul 23, 2014 at 4:41 PM, Stephen Warren <swarren at wwwdotorg.org
> <mailto:swarren at 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 at wwwdotorg.org>
>  > > <mailto:swarren at wwwdotorg.org <mailto:swarren at wwwdotorg.org>>> wrote:
>  > >>
>  > >> From: Stephen Warren <swarren at nvidia.com
> <mailto:swarren at nvidia.com> <mailto:swarren at nvidia.com
> <mailto:swarren at 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 at ni.com
> <mailto:joe.hershberger at ni.com>
>  > > <mailto:joe.hershberger at ni.com <mailto:joe.hershberger at 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?


More information about the U-Boot mailing list