summaryrefslogtreecommitdiff
path: root/drivers/message/fusion
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-10-26 10:53:52 -0700
committerDavid S. Miller <davem@davemloft.net>2021-10-28 12:47:09 +0100
commitaaaaa1377e7afca758749b302192b719d58234ed (patch)
tree11982a2d6ae5520a2c41bb2a757c2e2466d0a44f /drivers/message/fusion
parent707182e45b8197705a82d918458ce585fdea7097 (diff)
downloadlinux-next-aaaaa1377e7afca758749b302192b719d58234ed.tar.gz
firewire: don't write directly to netdev->dev_addr
Commit 406f42fa0d3c ("net-next: When a bond have a massive amount of VLANs...") introduced a rbtree for faster Ethernet address look up. To maintain netdev->dev_addr in this tree we need to make all the writes to it go through appropriate helpers. Prepare fwnet_hwaddr on the stack and use dev_addr_set() to copy it to netdev->dev_addr. We no longer need to worry about alignment. union fwnet_hwaddr does not have any padding and we set all fields so we don't need to zero it upfront. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/message/fusion')
0 files changed, 0 insertions, 0 deletions