summaryrefslogtreecommitdiff
path: root/drivers/vlynq
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2023-03-15 15:11:47 +0200
committerDavid S. Miller <davem@davemloft.net>2023-03-17 08:05:48 +0000
commitcc7f5022f810cf7bf4f1826dd620656c35942a13 (patch)
tree6eb8624469c6534ff8216a14bcb7ab85998b50e8 /drivers/vlynq
parentc009de1061b57162fed206998dcdf8001416a481 (diff)
rtnetlink: bridge: mcast: Move MDB handlers out of bridge driver
Currently, the bridge driver registers handlers for MDB netlink messages, making it impossible for other drivers to implement MDB support. As a preparation for VXLAN MDB support, move the MDB handlers out of the bridge driver to the core rtnetlink code. The rtnetlink code will call into individual drivers by invoking their previously added MDB net device operations. Note that while the diffstat is large, the change is mechanical. It moves code out of the bridge driver to rtnetlink code. Also note that a similar change was made in 2012 with commit 77162022ab26 ("net: add generic PF_BRIDGE:RTM_ FDB hooks") that moved FDB handlers out of the bridge driver to the core rtnetlink code. Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/vlynq')
0 files changed, 0 insertions, 0 deletions