mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-21 11:09:26 -04:00
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 Signed-off-by: Paritosh Potukuchi <paritosh.potukuchi@amd.com> Link: https://patch.msgid.link/20260703125513.694324-1-paritosh.potukuchi@amd.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
committed by
Paolo Abeni
parent
6d86ce0da0
commit
0e74441ede
@@ -4857,12 +4857,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;
|
||||
|
||||
Reference in New Issue
Block a user