Messages in this thread Patch in this message | | | From | Arnd Bergmann <> | Subject | [PATCH] netfilter: nf_conntrack_sip: fix IPV6 dependency | Date | Mon, 4 Mar 2019 21:40:12 +0100 |
| |
With CONFIG_IPV6=m and CONFIG_NF_CONNTRACK_SIP=y, we now get a link failure:
net/netfilter/nf_conntrack_sip.o: In function `process_sdp': nf_conntrack_sip.c:(.text+0x4344): undefined reference to `ip6_route_output_flags'
Fix this by adding a dependency that forces CONFIG_NF_CONNTRACK_SIP to be =m when CONFIG_IPV6=m, as we already do for several other drivers with a similar requirement.
Fixes: a3419ce3356c ("netfilter: nf_conntrack_sip: add sip_external_media logic") Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- net/netfilter/Kconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig index d43ffb09939b..964bc317ad0a 100644 --- a/net/netfilter/Kconfig +++ b/net/netfilter/Kconfig @@ -333,6 +333,7 @@ config NF_CONNTRACK_SANE config NF_CONNTRACK_SIP tristate "SIP protocol support" + depends on IPV6 || IPV6=n default m if NETFILTER_ADVANCED=n help SIP is an application-layer control protocol that can establish, -- 2.20.0
| |