BRIDGE_NF_EBTABLES dependency on BRIDGE_NETFILTER
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
Quoted 8 lines · sachin sanap
Hi,
Iam using 2.6.29.2 kernel and I dont understand why isBRIDGE_NF_EBTABLESdependent onBRIDGE_NETFILTERinnet/bridge/netfilter/Kconfig? I can remove the dependency and successfully compile the kernel withBRIDGE_NF_EBTABLESon andBRIDGE_NETFILTERoff.
Doesnet/bridge/netfilter/Kconfigneed 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?
Quoted 12 lines · Jan Engelhardt
Quoted 8 lines · sachin sanap
Hi,
Iam using 2.6.29.2 kernel and I dont understand why isBRIDGE_NF_EBTABLESdependent onBRIDGE_NETFILTERinnet/bridge/netfilter/Kconfig? I can remove the dependency and successfully compile the kernel withBRIDGE_NF_EBTABLESon andBRIDGE_NETFILTERoff.
Doesnet/bridge/netfilter/Kconfigneed 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.