Skip to content

Commit

Permalink
net: bridge: fix br_multicast_is_router stub when igmp is disabled
Browse files Browse the repository at this point in the history
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: 1a3065a ("net: bridge: mcast: prepare is-router function for mcast router split")
Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Acked-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Nikolay Aleksandrov authored and David S. Miller committed May 14, 2021
1 parent ea89c86 commit bbc6f2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/bridge/br_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit bbc6f2c

Please sign in to comment.