OSDN Git Service

netfilter: nf_queue: get rid of dependency on IP6_NF_IPTABLES
authorLiping Zhang <liping.zhang@spreadtrum.com>
Sun, 11 Sep 2016 14:05:27 +0000 (22:05 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 12 Sep 2016 17:54:46 +0000 (19:54 +0200)
commit6bd14303a908833e10ac731a3308eba938305269
tree1ae4490c611c28f034b15451c577843f0384e7c3
parent23d07508d25cea9984ee068538b4e86932b015c2
netfilter: nf_queue: get rid of dependency on IP6_NF_IPTABLES

hash_v6 is used by both nftables and ip6tables, so depend on
IP6_NF_IPTABLES is not properly.

Actually, it only parses ipv6hdr and computes a hash value, so
even if IPV6 is disabled, there's no side effect too, remove it.

Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_queue.h