Home
last modified time | relevance | path

Searched hist:e2d0576f0c009acdba63e1d763276743ff3788cc (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/dsa/
H A Dslave.cdiff e2d0576f0c009acdba63e1d763276743ff3788cc Tue Mar 08 03:15:13 CST 2022 Vladimir Oltean <vladimir.oltean@nxp.com> net: dsa: be mostly no-op in dsa_slave_set_mac_address when down

Since the slave unicast address is synced to hardware and to the DSA
master during dsa_slave_open(), this means that a call to
dsa_slave_set_mac_address() while the slave interface is down will
result to a call to dsa_port_standalone_host_fdb_del() and to
dev_uc_del() for the MAC address while there was no previous
dsa_port_standalone_host_fdb_add() or dev_uc_add().

This is a partial revert of the blamed commit below, which was too
aggressive.

Fixes: 35aae5ab9121 ("net: dsa: remove workarounds for changing master promisc/allmulti only while up")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>