[NETFILTER]: Kconfig: improve dependency handling
authorPatrick McHardy <kaber@trash.net>
Mon, 12 Feb 2007 19:15:02 +0000 (11:15 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Feb 2007 19:15:02 +0000 (11:15 -0800)
commita3c941b08d73e26af9030d34a73a1992cfff1703
tree8da2c5caf2f197a2bf84bb20563f381c757d61e7
parent891350c9d168a7d58a193a67a1d107c23f9c2eb1
[NETFILTER]: Kconfig: improve dependency handling

Instead of depending on internally needed options and letting users
figure out what is needed, select them when needed:

- IP_NF_IPTABLES, IP_NF_ARPTABLES and IP6_NF_IPTABLES select
  NETFILTER_XTABLES

- NETFILTER_XT_TARGET_CONNMARK, NETFILTER_XT_MATCH_CONNMARK and
  IP_NF_TARGET_CLUSTERIP select NF_CONNTRACK_MARK

- NETFILTER_XT_MATCH_CONNBYTES selects NF_CT_ACCT

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/Kconfig
net/ipv6/netfilter/Kconfig
net/netfilter/Kconfig