Subject: [PATCH -next] bridge: depends on INET

From: Randy Dunlap <[email-masked]>
Date: Tue, 02 Mar 2010 09:08:23 -0800

From: Randy Dunlap <[email-masked]>

br_multicast calls ip_send_check(), so it should depend on INET.

built-in:
br_multicast.c:(.text+0x88cf4): undefined reference to `ip_send_check'

or modular:
ERROR: "ip_send_check" [net/bridge/bridge.ko] undefined!

Signed-off-by: Randy Dunlap <[email-masked]>
Cc: Stephen Hemminger <[email-masked]>
Cc: [email-masked]
---
 net/bridge/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20100302.orig/net/bridge/Kconfig
+++ linux-next-20100302/net/bridge/Kconfig
@@ -35,6 +35,7 @@ config BRIDGE
 config BRIDGE_IGMP_SNOOPING
 	bool "IGMP snooping"
 	depends on BRIDGE
+	depends on INET
 	default y
 	---help---
 	  If you say Y here, then the Ethernet bridge will be able selectively