bridge: depends on INET
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 3 Mar 2010 09:23:22 +0000 (01:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Mar 2010 09:23:22 +0000 (01:23 -0800)
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 <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/Kconfig

index 19a6b9629c51d100f2e7b2e492d5ee557df100a0..d115d5cea5b6b63421769ccfc2b12bd922ac5918 100644 (file)
@@ -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