[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190207214834.awrpkxunnvfdorbe@gondor.apana.org.au>
Date: Fri, 8 Feb 2019 05:48:34 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Johannes Berg <johannes@...solutions.net>
Cc: linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
Jouni Malinen <j@...fi>, Thomas Graf <tgraf@...g.ch>
Subject: Re: [PATCH v2] rhashtable: make walk safe from softirq context
On Thu, Feb 07, 2019 at 02:50:54PM +0100, Johannes Berg wrote:
>
> > This interface wasn't designed for use in softirq contexts.
>
> Well, it clearly was used there. You even gave it a gfp_t argument in
> rhashtable_walk_init(), so you can't really claim it wasn't designed for
> this. I see now that it's ignored, but still?
I see. This was added behind my back so I wasn't aware of it.
> > Could you please show me who is doing this so I can review that
> > to see whether it's a legitimate use of this API?
>
> I'm sure you'll say it's not legitimate, but it still exists ;-)
>
> mesh_plink_broken() gets called from the TX status path, via
> ieee80211s_update_metric().
Let me take a look.
Thanks!
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists