Skip to content
Snippets Groups Projects
Commit 86848a74 authored by Mike Frysinger's avatar Mike Frysinger Committed by Ben Warren
Browse files

net: sync env ethaddr to device enetaddr in eth_init()


In the previous enetaddr refactoring, the assumption with commit 56b555a6
was that the eth layer would handle the env -> device enetaddr syncing.
This was not the case as eth_initialize() is called only once and the sync
occurs there.  So make sure the eth_init() function does the env -> device
sync with every network init.

Reported-by: default avatarAndrzej Wolski <awolski@poczta.fm>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
parent 0ebf04c6
No related branches found
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment