diff options
| author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-07-19 16:51:40 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-07-20 07:04:27 -0700 |
| commit | b94dc99c0ddb74713da315853919393fb3e63b96 (patch) | |
| tree | 9f839966890a4400be58605618b5d98bd36a1be6 /include/linux/debugobjects.h | |
| parent | 8ca07176ab00a6d06a9b254dcbb2514b4d607e9c (diff) | |
| download | cachepc-linux-b94dc99c0ddb74713da315853919393fb3e63b96.tar.gz cachepc-linux-b94dc99c0ddb74713da315853919393fb3e63b96.zip | |
net: dsa: use switchdev_handle_fdb_{add,del}_to_device
Using the new fan-out helper for FDB entries installed on the software
bridge, we can install host addresses with the proper refcount on the
CPU port, such that this case:
ip link set swp0 master br0
ip link set swp1 master br0
ip link set swp2 master br0
ip link set swp3 master br0
ip link set br0 address 00:01:02:03:04:05
ip link set swp3 nomaster
works properly and the br0 address remains installed as a host entry
with refcount 3 instead of getting deleted.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
