Re: [PATCH net-next 1/7] net: dev: use kfree_skb_reason() for sch_handle_egress()

From: Menglong Dong
Date: Fri Mar 04 2022 - 00:20:17 EST


On Fri, Mar 4, 2022 at 1:05 PM Jakub Kicinski <kuba@xxxxxxxxxx> wrote:
>
> On Fri, 4 Mar 2022 12:56:40 +0800 Menglong Dong wrote:
> > You are right, I think I misunderstanded the concept of qdisc and tc before.
> > and seems all 'QDISC' here should be 'TC'? which means:
> >
> > QDISC_EGRESS -> TC_EGRESS
> > QDISC_DROP -> TC_DROP
>
> For this one QDISC is good, I think, it will mostly catch packets
> which went thru qdisc_drop(), right?
>

Yeah, you are right.

> > QDISC_INGRESS -> TC_INGRESS