summaryrefslogtreecommitdiff
path: root/net/bridge/br_if.c
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@nvidia.com>2020-09-22 10:30:13 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-23 23:24:34 +0300
commit7eea629d07d459dfece80648c7f47f07498fdc9e (patch)
treec03ff6585680236a8e51ffa3f68d228678123d30 /net/bridge/br_if.c
parent2ac95dfe25229b13dda95b404004b9c93815c7f9 (diff)
downloadlinux-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 'net/bridge/br_if.c')
0 files changed, 0 insertions, 0 deletions