From: Cong Wang <xiyou.wangc...@gmail.com> Date: Sat, 11 Jun 2016 17:14:09 -0700
> On Sat, Jun 11, 2016 at 3:54 PM, David Miller <da...@davemloft.net> wrote: >> From: Florian Westphal <f...@strlen.de> >> Date: Sat, 11 Jun 2016 12:46:04 +0200 >> >>> 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. >> >> Yes, but it's been like this for two decades. >> >> One of the points of my reply to the previous version of this >> patch is that indeed it is explicitly returned, intentionally. > > I think this is a leftover from CONFIG_NET_CLS_POLICE removal. > > BTW, probably TC_POLICE_* can be removed together. Ok I'll apply this.