mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
radix-tree tests: add regression3 test
After calling radix_tree_iter_retry(), 'slot' will be set to NULL. This can cause radix_tree_next_slot() to dereference the NULL pointer. Add Konstantin Khlebnikov's test to the regression framework. Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com> Reported-by: Konstantin Khlebnikov <koct9i@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
7165092fe5
commit
2d6f45b802
5 changed files with 90 additions and 1 deletions
|
@ -261,6 +261,7 @@ int main(void)
|
|||
|
||||
regression1_test();
|
||||
regression2_test();
|
||||
regression3_test();
|
||||
single_thread_tests();
|
||||
|
||||
sleep(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue