[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163543440710.20393.2773877623899316813.git-patchwork-notify@kernel.org>
Date: Thu, 28 Oct 2021 15:20:07 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, mst@...hat.com,
jasowang@...hat.com, virtualization@...ts.linux-foundation.org
Subject: Re: [PATCH net-next v2] net: virtio: use eth_hw_addr_set()
Hello:
This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 27 Oct 2021 08:20:12 -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.
>
> Even though the current code uses dev->addr_len the we can switch
> to eth_hw_addr_set() instead of dev_addr_set(). The netdev is
> always allocated by alloc_etherdev_mq() and there are at least two
> places which assume Ethernet address:
> - the line below calling eth_hw_addr_random()
> - virtnet_set_mac_address() -> eth_commit_mac_addr_change()
>
> [...]
Here is the summary with links:
- [net-next,v2] net: virtio: use eth_hw_addr_set()
https://git.kernel.org/netdev/net-next/c/f2edaa4ad5d5
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists