|author||Florian Westphal <firstname.lastname@example.org>||2016-06-11 12:46:04 +0200|
|committer||David S. Miller <email@example.com>||2016-06-12 22:02:11 -0400|
|parent||net: fec: handle small PHY reset durations more precisely (diff)|
sched: remove NET_XMIT_POLICED
sch_atm returns this when TC_ACT_SHOT classification occurs. But all other schedulers that use tc_classify (htb, hfsc, drr, fq_codel ...) return NET_XMIT_SUCCESS | __BYPASS in this case so just do that in atm. BATMAN uses it as an intermediate return value to signal forwarding vs. buffering, but it did not return POLICED to callers outside of BATMAN. Reviewed-by: Sven Eckelmann <firstname.lastname@example.org> Signed-off-by: Florian Westphal <email@example.com> Signed-off-by: David S. Miller <firstname.lastname@example.org>
Diffstat (limited to '')
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c
index 401eda6de682..12ebde845523 100644
@@ -95,8 +95,6 @@ static int tclass_notify(struct net *net, struct sk_buff *oskb,
Expected action: do not backoff, but wait until queue will clear.
NET_XMIT_CN - probably this packet enqueued, but another one dropped.
Expected action: backoff or ignore
- NET_XMIT_POLICED - dropped by police.
- Expected action: backoff or error to real-time apps.