Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <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>

authored by

Vladimir Oltean and committed by
Jakub Kicinski
c43fd36f 1c470b53

+2 -1
+2 -1
net/bridge/br_private.h
··· 1013 1013 } 1014 1014 1015 1015 static inline bool br_multicast_querier_exists(struct net_bridge *br, 1016 - struct ethhdr *eth) 1016 + struct ethhdr *eth, 1017 + const struct net_bridge_mdb_entry *mdb) 1017 1018 { 1018 1019 return false; 1019 1020 }