Skip to contentSkip to conversation

: sch_ingress: remove netfilter support

NET_SCHED Applied Patrick McHardy 3 participants 3 messages Jan 29, 2008 – Feb 1, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

commit 3b27667029825ba16f8509fb119bca1b445a3dc9

Author: Patrick McHardy <[email protected]>
Date:   Mon Jan 28 13:57:56 2008 +0100

[NET_SCHED]: sch_ingress: remove netfilter support

Since the old policer code is gone, TC actions are needed for policing. The ingress qdisc can get packets directly from netif_receive_skb() in case TC actions are enabled or through netfilter otherwise, but since without TC actions there is no policer the only thing it actually does is count packets.

Remove the netfilter support and always require TC actions.

net/sched/Kconfig +1 -1
index 87af7c9..7d4085a 100644
@@ -198,7 +198,7 @@ config NET_SCH_NETEM
 
 config NET_SCH_INGRESS
 	tristate "Ingress Qdisc"
-	depends on NET_CLS_ACT || NETFILTER
+	depends on NET_CLS_ACT
 	---help---
 	  Say Y here if you want to use classifiers for incoming packets.
 	  If unsure, say Y.
net/sched/sch_ingress.c +0 -79

117 lines not on this page · raw message

maintainer Applied
#2 lore raw
In reply to Patrick McHardy

From: Patrick McHardy <[email protected]>
Date: Tue, 29 Jan 2008 16:28:11 +0100

Quoted 11 lines

[NET_SCHED]: sch_ingress: remove netfilter support

Since the old policer code is gone, TC actions are needed for policing. The ingress qdisc can get packets directly from netif_receive_skb() in case TC actions are enabled or through netfilter otherwise, but since without TC actions there is no policer the only thing it actually does is count packets.

Remove the netfilter support and always require TC actions.

Applied.