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

Stephen Warren swarren at wwwdotorg.org
Wed Jul 23 23:41:43 CEST 2014


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>> wrote:
>>
>> From: Stephen Warren <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>>

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:-)


More information about the U-Boot mailing list