[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ee967071-abbe-c0e3-db96-6963d1b886b2@gmail.com>
Date: Wed, 12 Oct 2022 14:08:34 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Thorsten Glaser <t.glaser@...ent.de>
Cc: Dave Taht <dave.taht@...il.com>, netdev@...r.kernel.org
Subject: Re: RFH, where did I go wrong?
On 10/12/22 14:05, Thorsten Glaser wrote:
> On Wed, 12 Oct 2022, Eric Dumazet wrote:
>
>> I guess RTNL is not held at this point.
> OIC, so it’s held for .init and .reset but not the other methods.
> I wish this were documented…
RTNL being a mutex it only can be acquired in process context.
qdisc fast path (queue/dequeue) can be called from (soft)irq context, so
RTNL is out of reach.
>
> Looking good so far. Thank you very much!
>
> bye,
> //mirabilos
Powered by blists - more mailing lists