[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1470377813.2977.14.camel@sipsolutions.net>
Date: Fri, 05 Aug 2016 08:16:53 +0200
From: Johannes Berg <johannes@...solutions.net>
To: Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
linux-wireless@...r.kernel.org
Cc: Thomas Graf <tgraf@...g.ch>, tom@...bertland.com
Subject: Re: Buggy rhashtable walking
> So I'm going to fix this by consolidating identical objects into
> a single rhashtable entry which also lets us get rid of the
> insecure_elasticity setting.
Hm. Would you rather allocate a separate head entry for the hashtable,
or chain the entries?
(Luckily) the colliding key case practically never happens, and some
drivers don't even allow it, so that's perhaps something to keep in
mind for this. Perhaps we should just generally disallow it - but a few
people (hi Ben) would be really unhappy about that I guess.
I think this might affect more than one use of rhashtable in mac80211
now, since the mesh paths also use it.
johannes
Powered by blists - more mailing lists