提交 bbc6f2cc 编写于 作者: N Nikolay Aleksandrov 提交者: David S. Miller

net: bridge: fix br_multicast_is_router stub when igmp is disabled

br_multicast_is_router takes two arguments when bridge IGMP is enabled
and just one when it's disabled, fix the stub to take two as well.

Fixes: 1a3065a2 ("net: bridge: mcast: prepare is-router function for mcast router split")
Signed-off-by: NNikolay Aleksandrov <nikolay@nvidia.com>
Acked-by: NLinus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 ea89c862
......@@ -1068,7 +1068,8 @@ static inline void br_multicast_flood(struct net_bridge_mdb_entry *mdst,
{
}
static inline bool br_multicast_is_router(struct net_bridge *br)
static inline bool br_multicast_is_router(struct net_bridge *br,
struct sk_buff *skb)
{
return false;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册