[U-Boot] [PATCH] net: Make sure the ethaddr is updated in net_init()

Joe Hershberger joe.hershberger at gmail.com
Tue Jul 24 01:33:45 CEST 2012


Hi Michael,

On Mon, Jul 23, 2012 at 6:11 PM, Joe Hershberger <joe.hershberger at ni.com> wrote:
> NetConsole may call NetSendUDPPacket before NetLoop is called.  This
> will cause the source MAC address (NetOurEther) to be wrong.  Instead
> of only changing it in NetLoop, move it to NetLoopInit so that it is
> also updated when net_init() is called (especially by nc_start()).
>
> Signed-off-by: Joe Hershberger <joe.hershberger at ni.com>
> Reported-by: Michael Walle <michael at walle.cc>
> ---

Please test this and verify that it solves your issue.

Thanks
-Joe


More information about the U-Boot mailing list