From: David Miller <davem@davemloft.net>
To: xiyou.wangcong@gmail.com
Cc: fw@strlen.de, netdev@vger.kernel.org
Subject: Re: [PATCH v2 -next] sched: remove NET_XMIT_POLICED
Date: Sun, 12 Jun 2016 22:02:37 -0400 (EDT) [thread overview]
Message-ID: <20160612.220237.1542237134488036412.davem@davemloft.net> (raw)
In-Reply-To: <CAM_iQpWrpHscQUqnaSNZ=q1vhg=+k9zyaYLTRE4QRSxrtvK+iQ@mail.gmail.com>
From: Cong Wang <xiyou.wangcong@gmail.com>
Date: Sat, 11 Jun 2016 17:14:09 -0700
> On Sat, Jun 11, 2016 at 3:54 PM, David Miller <davem@davemloft.net> wrote:
>> From: Florian Westphal <fw@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.
prev parent reply other threads:[~2016-06-13 2:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-11 10:46 [PATCH v2 -next] sched: remove NET_XMIT_POLICED Florian Westphal
2016-06-11 22:54 ` David Miller
2016-06-11 22:57 ` Florian Westphal
2016-06-12 0:14 ` Cong Wang
2016-06-13 2:02 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160612.220237.1542237134488036412.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=fw@strlen.de \
--cc=netdev@vger.kernel.org \
--cc=xiyou.wangcong@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).