summaryrefslogtreecommitdiff
path: root/net/Kconfig
diff options
context:
space:
mode:
authorPablo Neira <pablo@netfilter.org>2015-05-13 19:19:37 +0300
committerDavid S. Miller <davem@davemloft.net>2015-05-14 08:10:05 +0300
commit1cf51900f8545b358b5deaacfda348d990f671db (patch)
tree05d4fb08f6441c1f7bfcab291bc839e0db4a169f /net/Kconfig
parentb8d0aad0c77f488d1d51a02d871a5cbc2d8032b9 (diff)
downloadlinux-1cf51900f8545b358b5deaacfda348d990f671db.tar.xz
net: add CONFIG_NET_INGRESS to enable ingress filtering
This new config switch enables the ingress filtering infrastructure that is controlled through the ingress_needed static key. This prepares the introduction of the Netfilter ingress hook that resides under this unique static key. Note that CONFIG_SCH_INGRESS automatically selects this, that should be no problem since this also depends on CONFIG_NET_CLS_ACT. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Acked-by: Alexei Starovoitov <ast@plumgrid.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/Kconfig')
-rw-r--r--net/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig
index 44dd5786ee91..57a7c5af3175 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -45,6 +45,9 @@ config COMPAT_NETLINK_MESSAGES
Newly written code should NEVER need this option but do
compat-independent messages instead!
+config NET_INGRESS
+ bool
+
menu "Networking options"
source "net/packet/Kconfig"