net: add CONFIG_NET_INGRESS to enable ingress filtering
authorPablo Neira <pablo@netfilter.org>
Wed, 13 May 2015 16:19:37 +0000 (18:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 May 2015 05:10:05 +0000 (01:10 -0400)
commit1cf51900f8545b358b5deaacfda348d990f671db
tree05d4fb08f6441c1f7bfcab291bc839e0db4a169f
parentb8d0aad0c77f488d1d51a02d871a5cbc2d8032b9
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>
include/linux/rtnetlink.h
net/Kconfig
net/core/dev.c
net/sched/Kconfig