[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080821.051133.88846701.davem@davemloft.net>
Date: Thu, 21 Aug 2008 05:11:33 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jarkao2@...il.com
Cc: herbert@...dor.apana.org.au, netdev@...r.kernel.org
Subject: Re: [PATCH take 2] pkt_sched: Fix qdisc_watchdog() vs.
dev_deactivate() race
From: Jarek Poplawski <jarkao2@...il.com>
Date: Thu, 21 Aug 2008 05:49:11 +0000
> pkt_sched: Fix qdisc_watchdog() vs. dev_deactivate() race
>
> dev_deactivate() can skip rescheduling of a qdisc by qdisc_watchdog()
> or other timer calling netif_schedule() after dev_queue_deactivate().
> We prevent this checking aliveness before scheduling the timer. Since
> during deactivation the root qdisc is available only as qdisc_sleeping
> additional accessor qdisc_root_sleeping() is created.
>
> With feedback from Herbert Xu <herbert@...dor.apana.org.au>
>
> Signed-off-by: Jarek Poplawski <jarkao2@...il.com>
Applied, thanks a lot Jarek.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists