net: bridge: mcast: fix stub definition of br_multicast_querier_exists

The commit cited below has changed only the functional prototype of
br_multicast_querier_exists, but forgot to do that for the stub
prototype (the one where CONFIG_BRIDGE_IGMP_SNOOPING is disabled).

Fixes: 955062b03f ("net: bridge: mcast: add support for raw L2 multicast groups")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/20201101000845.190009-1-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Vladimir Oltean 2020-11-01 02:08:45 +02:00 committed by Jakub Kicinski
parent 1c470b53ec
commit c43fd36f7f
1 changed files with 2 additions and 1 deletions

View File

@ -1013,7 +1013,8 @@ static inline bool br_multicast_is_router(struct net_bridge *br)
} }
static inline bool br_multicast_querier_exists(struct net_bridge *br, static inline bool br_multicast_querier_exists(struct net_bridge *br,
struct ethhdr *eth) struct ethhdr *eth,
const struct net_bridge_mdb_entry *mdb)
{ {
return false; return false;
} }