[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150515.130257.1322224469755323983.davem@redhat.com>
Date: Fri, 15 May 2015 13:02:57 -0400 (EDT)
From: David Miller <davem@...hat.com>
To: herbert@...dor.apana.org.au
Cc: eric.dumazet@...il.com, tgraf@...g.ch, netdev@...r.kernel.org
Subject: Re: netlink: Disable insertions/removals during rehash
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Thu, 14 May 2015 13:58:24 +0800
> The current rhashtable rehash code is buggy and can't deal with
> parallel insertions/removals without corrupting the hash table.
>
> This patch disables it by partially reverting
> c5adde9468b0714a051eac7f9666f23eb10b61f7 ("netlink: eliminate
> nl_sk_hash_lock").
>
> This patch also removes a bogus socket lock introduced by that
> very same patch.
>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Herbert, if you agree with me in the other thread that the lock_sock()
or something like it has to remain, you'll need to respin this.
Thanks.
--
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