]> 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)
commit18f6ffd857be2e013bff93eb3db1ebebb9f66575
tree7022babf83bb0049dc11618bd1f76f55115f3c16
parent512d8d8cf6e4e9981108d5bbe09a8e2ea63f7e5f
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