Skip to contentSkip to conversation

BRIDGE_NF_EBTABLES dependency on BRIDGE_NETFILTER

DISCUSSION sachin sanap 2 participants 3 messages May 27, 2009 netfilter

lore
Share & tools
lore
#0 lore raw

Hi,
Iam using 2.6.29.2 kernel and I dont understand why is BRIDGE_NF_EBTABLES dependent on BRIDGE_NETFILTER in net/bridge/netfilter/Kconfig ? I can remove the dependency and successfully compile the kernel with BRIDGE_NF_EBTABLES on and BRIDGE_NETFILTER off.
Does net/bridge/netfilter/Kconfig need an update or iam missing something obvious?

Thanks
-Sachin

#1 lore raw
Quoted 8 lines · sachin sanap

Hi,
Iam using 2.6.29.2 kernel and I dont understand why is BRIDGE_NF_EBTABLES dependent on BRIDGE_NETFILTER in net/bridge/netfilter/Kconfig ? I can remove the dependency and successfully compile the kernel with BRIDGE_NF_EBTABLES on and BRIDGE_NETFILTER off.
Does net/bridge/netfilter/Kconfig need an update or iam missing something obvious?

But what are you going to do with ebtables.ko if there is no one to make function calls into it?

#2 lore raw
Quoted 12 lines · Jan Engelhardt
Quoted 8 lines · sachin sanap

Hi,
Iam using 2.6.29.2 kernel and I dont understand why is BRIDGE_NF_EBTABLES dependent on BRIDGE_NETFILTER in net/bridge/netfilter/Kconfig ? I can remove the dependency and successfully compile the kernel with BRIDGE_NF_EBTABLES on and BRIDGE_NETFILTER off.
Does net/bridge/netfilter/Kconfig need an update or iam missing something obvious?

Quoted 3 lines

But what are you going to do with ebtables.ko if there is no one to make function calls into it?

NF_HOOK is called from two places one from the code thats enabled because of BRIDGE_NETFILTER i.e net/bridge/br_netfilter.c and other from the bridge code itself i.e net/bridge/br_forward.c net/bridge/br_input.c etc

so that should not be a problem.