[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150312.230142.925554248034420272.davem@davemloft.net>
Date: Thu, 12 Mar 2015 23:01:42 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: tgraf@...g.ch, netdev@...r.kernel.org
Subject: Re: rhashtable: Fix reader/rehash race
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Thu, 12 Mar 2015 22:07:49 +1100
> There is a potential race condition between readers and the rehasher.
> In particular, the rehasher could have started a rehash while the
> reader finishes a scan of the old table but fails to see the new
> table pointer.
>
> This patch closes this window by adding smp_wmb/smp_rmb.
>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Applied.
--
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