summaryrefslogtreecommitdiff
path: root/lib/zlib_inflate
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-03-12 22:07:49 +1100
committerDavid S. Miller <davem@davemloft.net>2015-03-12 23:02:30 -0400
commit9497df88ab5567daa001829051c5f87161a81ff0 (patch)
tree4631c01eb33d6f8bbcf018f47d31d19ad4fac5a4 /lib/zlib_inflate
parent5ff0d16aac91857246770f477942878a4d4f31f7 (diff)
rhashtable: Fix reader/rehash race
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@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/zlib_inflate')
0 files changed, 0 insertions, 0 deletions