net : bonding : Remove TODO comment about retrying setting the MAC
Subsystems (3)
PATCH 1/1 net : bonding : Remove TODO comment about retrying setting the MAC
As correctly pointed out by Jay Vosburgh,
"This comment dates to sometime before git, when it was common for network device drivers to lack the ability to change the MAC while the interface is up. To the best of my knowledge, that isn't a issue today."
Based on the discussion in the RFC linked below, I am removing the TODO.
Link to the RFC:
https://lore.kernel.org/netdev/2001256.1782860341@famine/T/#t
--- drivers/net/bonding/bond_main.c | 6 ------ 1 file changed, 6 deletions(-)
drivers/net/bonding/bond_main.c +0 -6
@@ -4865,12 +4865,6 @@ static int bond_set_mac_address(struct net_device *bond_dev, void *addr) __func__, slave); res =dev_set_mac_address (slave->dev, addr,NULL );if (res) { -/* TODO: consider downing the slave -* and retry ? -* User should expect communications -* breakage anyway until ARP finish -* updating, so... -*/ slave_dbg (bond_dev, slave->dev,"%s: err %d\n" , __func__, res); goto unwind;
Signature · 1 line
2.43.0
This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:
Quoted 8 lines · On Fri, 3 Jul 2026 12:55:12 +0000 you wrote:
As correctly pointed out by Jay Vosburgh,
"This comment dates to sometime before git, when it was common for network device drivers to lack the ability to change the MAC while the interface is up. To the best of my knowledge, that isn't a issue today."
[...]
Here is the summary with links:
- net : bonding : Remove TODO comment about retrying setting the MAC
https://git.kernel.org/netdev/net-next/c/0e74441edefc
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html