commit | b41cc04b662ac96bbb291fb66b7b8aab5bc0a8c9 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.com> | Tue Apr 24 08:29:13 2018 +1000 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 24 13:21:45 2018 -0400 |
tree | bb7b31dd529c7fe044ae0737e8c3fecd94d368fc | |
parent | 82266e98dd4d8e7d5b8e4a0fedeb91f2eb29d306 [diff] |
rhashtable: reset iter when rhashtable_walk_start sees new table The documentation claims that when rhashtable_walk_start_check() detects a resize event, it will rewind back to the beginning of the table. This is not true. We need to set ->slot and ->skip to be zero for it to be true. Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: David S. Miller <davem@davemloft.net>