config BRIDGE
tristate "802.1d Ethernet Bridging"
- depends on INET
---help---
If you say Y here, then your Linux box will be able to act as an
Ethernet bridge, which means that the different Ethernet segments it
br_ioctl.o br_notify.o br_stp.o br_stp_bpdu.o \
br_stp_if.o br_stp_timer.o
+# br_netfilter only deals with IPv4 and ARP filtering, both are INET protocols
+ifeq ($(CONFIG_INET),y)
bridge-$(CONFIG_NETFILTER) += br_netfilter.o
+endif
obj-$(CONFIG_BRIDGE_NF_EBTABLES) += netfilter/
{
printk(KERN_INFO "NET4: Ethernet Bridge 008 for NET4.0\n");
-#ifdef CONFIG_NETFILTER
+#if defined(CONFIG_INET) && defined(CONFIG_NETFILTER)
if (br_netfilter_init())
return 1;
#endif
static void __exit br_deinit(void)
{
-#ifdef CONFIG_NETFILTER
+#if defined(CONFIG_INET) && defined(CONFIG_NETFILTER)
br_netfilter_fini();
#endif
unregister_netdevice_notifier(&br_device_notifier);