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)
commit99860208bc62d8ebd5c57495b84856506fe075bc
tree7022babf83bb0049dc11618bd1f76f55115f3c16
parenteb37c56361df4a3e9705e808ce3f3bb483da3814
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