提交 c43fd36f 编写于 作者: V Vladimir Oltean 提交者: Jakub Kicinski

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: 955062b0 ("net: bridge: mcast: add support for raw L2 multicast groups")
Reported-by: Nkernel test robot <lkp@intel.com>
Signed-off-by: NVladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/20201101000845.190009-1-vladimir.oltean@nxp.comSigned-off-by: NJakub Kicinski <kuba@kernel.org>
上级 1c470b53
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册