bridge: Fix build error when IGMP_SNOOPING is not enabled
authorSridhar Samudrala <sri@us.ibm.com>
Mon, 1 Mar 2010 09:53:04 +0000 (09:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Mar 2010 11:05:04 +0000 (03:05 -0800)
commit85b3526932645269f67fee3583fa2aa500ab4f34
treeedbc5ec3d1a59c178bc36adb12fea56df164b652
parent47871889c601d8199c51a4086f77eebd77c29b0b
bridge: Fix build error when IGMP_SNOOPING is not enabled

Fix the following build error when IGMP_SNOOPING is not enabled.
In file included from net/bridge/br.c:24:
net/bridge/br_private.h: In function 'br_multicast_is_router':
net/bridge/br_private.h:361: error: 'struct net_bridge' has no member named 'multicast_router'
net/bridge/br_private.h:362: error: 'struct net_bridge' has no member named 'multicast_router'
net/bridge/br_private.h:363: error: 'struct net_bridge' has no member named 'multicast_router_timer'

Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_private.h