diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2014-01-13 19:01:10 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-01-14 16:33:00 +0100 |
commit | 419331d8ff0ff2b009db5cbc2de9e8731828dc49 (patch) | |
tree | 142226f414a937c4c0aa22221e707777821e7124 /drivers/net/can/pch_can.c | |
parent | netfilter: nf_tables: fix missing byteorder conversion in policy (diff) | |
download | linux-419331d8ff0ff2b009db5cbc2de9e8731828dc49.tar.xz linux-419331d8ff0ff2b009db5cbc2de9e8731828dc49.zip |
netfilter: Add dependency on IPV6 for NF_TABLES_INET
Commit 1d49144c0aa ("netfilter: nf_tables: add "inet" table for
IPv4/IPv6") allows creation of non-IPV6 enabled .config files that
will fail to configure/link as follows:
warning: (NF_TABLES_INET) selects NF_TABLES_IPV6 which has unmet direct dependencies (NET && INET && IPV6 && NETFILTER && NF_TABLES)
warning: (NF_TABLES_INET) selects NF_TABLES_IPV6 which has unmet direct dependencies (NET && INET && IPV6 && NETFILTER && NF_TABLES)
warning: (NF_TABLES_INET) selects NF_TABLES_IPV6 which has unmet direct dependencies (NET && INET && IPV6 && NETFILTER && NF_TABLES)
net/built-in.o: In function `nft_reject_eval':
nft_reject.c:(.text+0x651e8): undefined reference to `nf_ip6_checksum'
nft_reject.c:(.text+0x65270): undefined reference to `ip6_route_output'
nft_reject.c:(.text+0x656c4): undefined reference to `ip6_dst_hoplimit'
make: *** [vmlinux] Error 1
Since the feature is to allow for a mixed IPV4 and IPV6 table, it
seems sensible to make it depend on IPV6.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'drivers/net/can/pch_can.c')
0 files changed, 0 insertions, 0 deletions