Re: [PATCH net] net/sched: fix race between deactivation and dequeue for NOLOCK qdisc

2019-09-15 Thread David Miller
From: Paolo Abeni Date: Thu, 12 Sep 2019 12:02:42 +0200 > The test implemented by some_qdisc_is_busy() is somewhat loosy for > NOLOCK qdisc, as we may hit the following scenario: > > CPU1 CPU2 > // in net_tx_action() > clear_bit(__QDISC_STATE_SCHED...); >

[PATCH net] net/sched: fix race between deactivation and dequeue for NOLOCK qdisc

2019-09-12 Thread Paolo Abeni
The test implemented by some_qdisc_is_busy() is somewhat loosy for NOLOCK qdisc, as we may hit the following scenario: CPU1CPU2 // in net_tx_action() clear_bit(__QDISC_STATE_SCHED...); // in some_qdisc_is_b