Skip to content

CNB: net: create netdev->dev_addr assignment helpers

Josef Oškera requested to merge joskera/centos-stream-9:bz2030720 into main

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2030720
Build Info: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=42243858

Tested: SanityOnly

commit 48eab831ae8b9f7002a533fa4235eed63ea1f1a3
Author: Jakub Kicinski <kuba@kernel.org>
Date:   Thu Sep 2 11:10:37 2021 -0700

    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>

Signed-off-by: Josef Oskera joskera@redhat.com

Edited by Josef Oškera

Merge request reports