diff options
author | Rami Rosen <ramirose@gmail.com> | 2013-01-03 06:30:43 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-03 06:35:22 -0500 |
commit | fdb184d1467f9ed5b17c553b85eb1bb72bdbf62f (patch) | |
tree | 8e9f6cc6dda11e09b2e9fd9d7d0335a814371916 | |
parent | 6602d0078974628c5fe76850ac9fa489d091a4e9 (diff) |
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
Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/bridge/br_private.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index 8d83be5ffedc..711094aed41a 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h | |||
@@ -526,6 +526,12 @@ static inline bool br_multicast_is_router(struct net_bridge *br) | |||
526 | { | 526 | { |
527 | return 0; | 527 | return 0; |
528 | } | 528 | } |
529 | static inline void br_mdb_init(void) | ||
530 | { | ||
531 | } | ||
532 | static inline void br_mdb_uninit(void) | ||
533 | { | ||
534 | } | ||
529 | #endif | 535 | #endif |
530 | 536 | ||
531 | /* br_netfilter.c */ | 537 | /* br_netfilter.c */ |