[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20141117062000.GB8723@casper.infradead.org>
Date: Mon, 17 Nov 2014 06:20:00 +0000
From: Thomas Graf <tgraf@...g.ch>
To: Herbert Xu <herbert@...dor.apana.org.au>
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com,
paulmck@...ux.vnet.ibm.com, josh@...htriplett.org,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH 4/4] rhashtable: Add parent argument to mutex_is_held
On 11/15/14 at 11:51pm, Herbert Xu wrote:
> So I noticed that you got rid of the rehash when you converted
> netlink over to rthashtable. Was this aspect of the conversion
> discussed anywhere? In particular, how do you protect against
> a malicious user that's trying to attack the netlink hash table?
I looked at the trade off between lockless lookups and rehashing and
figured it makes sense to chose making lookups cheaper as sockets can
be constrained per user. However, given the followup-up discussion it
seems we can get both.
Thomas
--
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