On 7/9/23 7:19 PM, Alexei Starovoitov wrote:
On Fri, Jul 07, 2023 at 07:24:49PM +0200, Daniel Borkmann wrote:
diff --git a/net/Kconfig b/net/Kconfig
index 2fb25b534df5..d532ec33f1fe 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -52,6 +52,11 @@ config NET_INGRESS
config NET_EGRESS
bool
+config NET_XGRESS
+ select NET_INGRESS
+ select NET_EGRESS
+ bool
Since new kconfig is needed, can NET_INGRESS and NET_EGRESS be removed at the same time?
No because netfilter can pick these individually :
config NETFILTER_INGRESS
bool "Netfilter ingress support"
default y
select NET_INGRESS
help
This allows you to classify packets from ingress using the Netfilter
infrastructure.
config NETFILTER_EGRESS
bool "Netfilter egress support"
default y
select NET_EGRESS
help
This allows you to classify packets before transmission using the
Netfilter infrastructure.
Thanks,
Daniel