summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMáté Eckl <ecklm94@gmail.com>2018-06-28 20:01:02 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-07-16 17:54:57 +0200
commit7414d929bc35b9a7c3eab98ef7bd32d5ae4c2981 (patch)
tree00c8bd51fdd4f23d4ec63ffb4cd0083de946857d /net
parent60e3be94e6a1c5162a0763c9aafb5190b2b1fdce (diff)
downloadlinux-7414d929bc35b9a7c3eab98ef7bd32d5ae4c2981.tar.bz2
netfilter: Kconfig: Make NETFILTER_XT_MATCH_SOCKET select NF_SOCKET_IPV4/6
Instead of depending on it. Signed-off-by: Máté Eckl <ecklm94@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net')
-rw-r--r--net/netfilter/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig
index dbd7d1fad277..3ce657fbca67 100644
--- a/net/netfilter/Kconfig
+++ b/net/netfilter/Kconfig
@@ -1492,8 +1492,8 @@ config NETFILTER_XT_MATCH_SOCKET
depends on NETFILTER_ADVANCED
depends on IPV6 || IPV6=n
depends on IP6_NF_IPTABLES || IP6_NF_IPTABLES=n
- depends on NF_SOCKET_IPV4
- depends on NF_SOCKET_IPV6
+ select NF_SOCKET_IPV4
+ select NF_SOCKET_IPV6 if IP6_NF_IPTABLES
select NF_DEFRAG_IPV4
select NF_DEFRAG_IPV6 if IP6_NF_IPTABLES != n
help