Skip to contentSkip to conversation

bridge: add empty br_mdb_init() and br_mdb_uninit() definitions.

PATCH Applied Rami Rosen 2 participants 2 messages Jan 3, 2013

Subsystems (3)
lore
Share & tools
lore

Rami Rosen

author
#0 lore raw

PATCH 1/1 bridge: add empty br_mdb_init() and br_mdb_uninit() definitions.

This patch adds empty br_mdb_init() and br_mdb_uninit() definitions in br_private.h to avoid build failure when CONFIG_BRIDGE_IGMP_SNOOPING is not set. These methods were moved from br_multicast.c to br_netlink.c by commit 3ec8e9f085bcaef0de1077f555c2c5102c223390

---
 net/bridge/br_private.h | 6 ++++++
 1 file changed, 6 insertions(+)
net/bridge/br_private.h +6 -0
index 8d83be5..711094a 100644
@@ -526,6 +526,12 @@ static inline bool br_multicast_is_router(struct net_bridge *br)
 {
 	return 0;
 }
+static inline void br_mdb_init(void)
+{
+}
+static inline void br_mdb_uninit(void)
+{
+}
 #endif
 
 /* br_netfilter.c */
Signature · 1 line
1.7.11.7
maintainer Applied
#1 lore raw

From: Rami Rosen <[email protected]>
Date: Thu, 3 Jan 2013 13:30:43 +0200

Quoted 6 lines

This patch adds empty br_mdb_init() and br_mdb_uninit() definitions in br_private.h to avoid build failure when CONFIG_BRIDGE_IGMP_SNOOPING is not set. These methods were moved from br_multicast.c to br_netlink.c by commit 3ec8e9f085bcaef0de1077f555c2c5102c223390

Applied, thanks Rami.