netfilter: nf_conntrack_h323: Remove deprecated config check
authorSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Fri, 3 May 2019 18:39:08 +0000 (12:39 -0600)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 6 May 2019 13:15:09 +0000 (15:15 +0200)
commitb33c448c4f920d5399acea9ccbb508baec272f6f
treefe44a99cfaa2fed7b1567c4928048315a7599d4c
parentf8e608982022fad035160870f5b06086d3cba54d
netfilter: nf_conntrack_h323: Remove deprecated config check

CONFIG_NF_CONNTRACK_IPV6 has been deprecated so replace it with a check
for IPV6 instead.

Use nf_ip6_route6() instead of v6ops->route() and keep the IS_MODULE()
in nf_ipv6_ops as mentioned by Florian so that direct calls are used
when IPV6 is builtin and indirect calls are used only when IPV6 is a
module.

Fixes: a0ae2562c6c4b2 ("netfilter: conntrack: remove l3proto abstraction")
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Reviewed-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_h323_main.c