OSDN Git Service

net: bridge: mcast: consolidate querier selection for ipv4 and ipv6
authorNikolay Aleksandrov <nikolay@nvidia.com>
Fri, 13 Aug 2021 14:59:59 +0000 (17:59 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Aug 2021 13:02:43 +0000 (14:02 +0100)
commitc3fb3698f935381161101d2479d66dd48c106183
treea0b9fd56dba1ac4af2ee90867629108cffb07a27
parent67b746f94ff39d8b998c4ea9493c6ab2d6c225d4
net: bridge: mcast: consolidate querier selection for ipv4 and ipv6

We can consolidate both functions as they share almost the same logic.
This is easier to maintain and we have a single querier update function.

Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_multicast.c