[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170906154057.2de430a2@elisabeth>
Date: Wed, 6 Sep 2017 15:40:57 +0200
From: Stefano Brivio <sbrivio@...hat.com>
To: Johannes Berg <johannes@...solutions.net>
Cc: Matteo Croce <mcroce@...hat.com>, linux-wireless@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: hung task in mac80211
On Wed, 06 Sep 2017 15:30:10 +0200
Johannes Berg <johannes@...solutions.net> wrote:
> So for example replacing the loop of tid = 0..NUM_TIDS-1 with a
> list_for_each_entry() would already be unsafe with the dropping if the
> list were to require the mutex for locking.
Sure. Still, it would need another code change to break, but in general
I do agree indeed. :)
--
Stefano
Powered by blists - more mailing lists