projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60e3be9
)
netfilter: Kconfig: Make NETFILTER_XT_MATCH_SOCKET select NF_SOCKET_IPV4/6
author
Máté Eckl
<ecklm94@gmail.com>
Thu, 28 Jun 2018 18:01:02 +0000
(20:01 +0200)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Mon, 16 Jul 2018 15:54:57 +0000
(17:54 +0200)
Instead of depending on it.
Signed-off-by: Máté Eckl <ecklm94@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/Kconfig
patch
|
blob
|
history
diff --git
a/net/netfilter/Kconfig
b/net/netfilter/Kconfig
index
dbd7d1f
..
3ce657f
100644
(file)
--- 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