The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] net : bonding : Remove TODO comment about retrying setting the MAC
@ 2026-07-03 12:55 Paritosh Potukuchi
  2026-07-09 10:40 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Paritosh Potukuchi @ 2026-07-03 12:55 UTC (permalink / raw)
  To: netdev
  Cc: linux-kernel, jv, paritosh.potukuchi, Andrew Lunn,
	David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni

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

Signed-off-by: Paritosh Potukuchi <paritosh.potukuchi@amd.com>
---
 drivers/net/bonding/bond_main.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index d2e4dae4e97c..d5c19dc4bc07 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -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;
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net : bonding : Remove TODO comment about retrying setting the MAC
  2026-07-03 12:55 [PATCH] net : bonding : Remove TODO comment about retrying setting the MAC Paritosh Potukuchi
@ 2026-07-09 10:40 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-07-09 10:40 UTC (permalink / raw)
  To: Paritosh Potukuchi
  Cc: netdev, linux-kernel, jv, paritosh.potukuchi, andrew+netdev,
	davem, edumazet, kuba, pabeni

Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-07-09 10:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-03 12:55 [PATCH] net : bonding : Remove TODO comment about retrying setting the MAC Paritosh Potukuchi
2026-07-09 10:40 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox