diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2026-07-20 12:55:50 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2026-07-20 12:55:50 -0700 |
| commit | abc69ae5d23e7910dc5a77f8d8b2c34d335724c0 (patch) | |
| tree | 9ee7bd302513b34b601539ba0bfb10bd0b37ea7a /lib | |
| parent | 1590cf0329716306e948a8fc29f1d3ee87d3989f (diff) | |
| parent | 8173f7e2ce67e6ca1d4763f3da14e5b01ce77456 (diff) | |
| download | linux-next-abc69ae5d23e7910dc5a77f8d8b2c34d335724c0.tar.gz linux-next-abc69ae5d23e7910dc5a77f8d8b2c34d335724c0.zip | |
Merge tag 'v7.2-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Pull crypto fix from Herbert Xu:
- Fix potential crash in rhashtable walk
* tag 'v7.2-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
rhashtable: clear stale iter->p on table restart
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/rhashtable.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rhashtable.c b/lib/rhashtable.c index 40cfb38ac919..d459bef245f4 100644 --- a/lib/rhashtable.c +++ b/lib/rhashtable.c @@ -878,6 +878,7 @@ int rhashtable_walk_start_check(struct rhashtable_iter *iter) iter->walker.tbl = rht_dereference_rcu(ht->tbl, ht); iter->slot = 0; iter->skip = 0; + iter->p = NULL; return -EAGAIN; } |
