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

From: Jakub Kicinski
Date: Thu Mar 03 2022 - 23:25:55 EST


On Fri, 4 Mar 2022 01:47:01 +0800 menglong8.dong@xxxxxxxxx wrote:
> Replace kfree_skb() used in sch_handle_egress() with kfree_skb_reason().
> The drop reason SKB_DROP_REASON_QDISC_EGRESS is introduced. Considering
> the code path of qdisc egerss, we make it distinct with the drop reason
> of SKB_DROP_REASON_QDISC_DROP in the next commit.

I don't think this has much to do with Qdiscs, this is the TC
egress hook, it's more for filtering. Classful Qdisc like HTB
will run its own classification. I think.

Maybe TC_EGRESS?