Эх сурвалжийг харах

bridge: depends on INET

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>
Randy Dunlap 15 жил өмнө
parent
commit
1cd4efddc4

+ 1 - 0
net/bridge/Kconfig

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