diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-03-21 02:10:51 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-03-31 01:18:51 +0200 |
commit | 38129a13e6e71f666e0468e99fdd932a687b4d7e (patch) | |
tree | 438e817fdf7d224f9fda1186eb24b1bbc37a4b5c /crypto/seed.c | |
parent | don't bother with propagate_mnt() unless the target is shared (diff) | |
download | linux-38129a13e6e71f666e0468e99fdd932a687b4d7e.tar.xz linux-38129a13e6e71f666e0468e99fdd932a687b4d7e.zip |
switch mnt_hash to hlist
fixes RCU bug - walking through hlist is safe in face of element moves,
since it's self-terminating. Cyclic lists are not - if we end up jumping
to another hash chain, we'll loop infinitely without ever hitting the
original list head.
[fix for dumb braino folded]
Spotted by: Max Kellermann <mk@cm4all.com>
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'crypto/seed.c')
0 files changed, 0 insertions, 0 deletions