Subject: Re: knob to disable locally-originating qdisc optimisation?

From: Toke Høiland-Jørgensen <[email-masked]>
Date: Wed, 17 May 2023 12:00:26 +0200

Thorsten Glaser <[email-masked]> writes:

> On Wed, 17 May 2023, Toke Høiland-Jørgensen wrote:
>
>>Well, if it's a custom qdisc you could just call skb_orphan() on the
>>skbs when enqueueing them?
>
> What does that even do? (Yes, I found the comment in skbuff.h that
> passes for documentation. It isn’t comprehensible to an aspiring
> qdisc writer though.)

It detaches the skb from the socket it came from; so from the TCP stack
PoV it will look like the packet left the machine, which should
short-circuit the backpressure thing...

-Toke