# Re: \[PATCH net-next\] firewire: don't write directly to netdev-\>dev\_addr

- From: patchwork-bot+netdevbpf@kernel.org
- Date: 2021-10-28 12:20:19 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/10/11214996
- Thread: https://ratatoskr.run/netdev/2021/10/11214692/t.md

```text
Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller [ref]:

On Tue, 26 Oct 2021 10:53:52 -0700 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next] firewire: don't write directly to netdev->dev_addr
    https://git.kernel.org/netdev/net-next/c/aaaaa1377e7a

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


```
