]> git.baikalelectronics.ru Git - kernel.git/commit
sched: remove NET_XMIT_POLICED
authorFlorian Westphal <fw@strlen.de>
Sat, 11 Jun 2016 10:46:04 +0000 (12:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Jun 2016 02:02:11 +0000 (22:02 -0400)
commite652689c15209426c508e95093bf85f83cb923a0
tree7022babf83bb0049dc11618bd1f76f55115f3c16
parentfaf71d1aeb5f854fbc41e723eb5e258df4b28908
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 <sven@narfation.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/batman-adv/routing.c
net/batman-adv/send.c
net/core/pktgen.c
net/sched/sch_api.c
net/sched/sch_atm.c