Commit a7ce45a7 authored by Nikolay Aleksandrov's avatar Nikolay Aleksandrov Committed by David S. Miller
Browse files

bridge: mcast: fix br_multicast_dev_del warn when igmp snooping is not defined

net/bridge/br_if.c: In function 'br_dev_delete':
>> net/bridge/br_if.c:284:2: error: implicit declaration of function
>> 'br_multicast_dev_del' [-Werror=implicit-function-declaration]
   cc1: some warnings being treated as errors

when igmp snooping is not defined.

Signed-off-by: default avatarNikolay Aleksandrov <>
Signed-off-by: default avatarDavid S. Miller <>
parent a0a9f33b
......@@ -566,6 +566,10 @@ static inline void br_multicast_stop(struct net_bridge *br)
static inline void br_multicast_dev_del(struct net_bridge *br)
static inline void br_multicast_deliver(struct net_bridge_mdb_entry *mdst,
struct sk_buff *skb)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment