commit | 48eab831ae8b9f7002a533fa4235eed63ea1f1a3 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <kuba@kernel.org> | Thu Sep 02 11:10:37 2021 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun Sep 05 20:58:50 2021 +0100 |
tree | 83713de2a9489585e829b19358f2a351faa07cbf | |
parent | 8c9bc823efd93394061c9b18270405cf21168d51 [diff] |
net: create netdev->dev_addr assignment helpers Recent work on converting address list to a tree made it obvious we need an abstraction around writing netdev->dev_addr. Without such abstraction updating the main device address is invisible to the core. Introduce a number of helpers which for now just wrap memcpy() but in the future can make necessary changes to the address tree. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>