diff options
author | Nikolay Aleksandrov <nikolay@nvidia.com> | 2020-09-22 10:30:13 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-23 23:24:34 +0300 |
commit | 7eea629d07d459dfece80648c7f47f07498fdc9e (patch) | |
tree | c03ff6585680236a8e51ffa3f68d228678123d30 /Documentation/ABI/stable/sysfs-driver-aspeed-vuart | |
parent | 2ac95dfe25229b13dda95b404004b9c93815c7f9 (diff) | |
download | linux-7eea629d07d459dfece80648c7f47f07498fdc9e.tar.xz |
net: bridge: mdb: move all port and bridge checks to br_mdb_add
To avoid doing duplicate device checks and searches (the same were done
in br_mdb_add and __br_mdb_add) pass the already found port to __br_mdb_add
and pull the bridge's netif_running and enabled multicast checks to
br_mdb_add. This would also simplify the future extack errors.
Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/ABI/stable/sysfs-driver-aspeed-vuart')
0 files changed, 0 insertions, 0 deletions