From: Vladimir Oltean Date: Sun, 1 Nov 2020 00:08:45 +0000 (+0200) Subject: net: bridge: mcast: fix stub definition of br_multicast_querier_exists X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c43fd36f7fec6c227c5e8a8ddd7d3fe97472182f;p=linux.git 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: 955062b03fa6 ("net: bridge: mcast: add support for raw L2 multicast groups") Reported-by: kernel test robot Signed-off-by: Vladimir Oltean Link: https://lore.kernel.org/r/20201101000845.190009-1-vladimir.oltean@nxp.com Signed-off-by: Jakub Kicinski --- diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index 4c691c371884b..891f3b05ffa41 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h @@ -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, - struct ethhdr *eth) + struct ethhdr *eth, + const struct net_bridge_mdb_entry *mdb) { return false; }