summaryrefslogtreecommitdiffstats
path: root/tools/testing/radix-tree/Makefile
diff options
context:
space:
mode:
authorKonstantin Khlebnikov <koct9i@gmail.com>2016-03-17 22:22:08 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2016-03-17 23:09:34 +0100
commit2d6f45b802af7a15a0e455bcfad4009aa5e7b66b (patch)
tree168ed52e0dd19c10b2178015f66fe2e877e44f19 /tools/testing/radix-tree/Makefile
parentradix-tree,shmem: introduce radix_tree_iter_next() (diff)
downloadlinux-2d6f45b802af7a15a0e455bcfad4009aa5e7b66b.tar.xz
linux-2d6f45b802af7a15a0e455bcfad4009aa5e7b66b.zip
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>
Diffstat (limited to 'tools/testing/radix-tree/Makefile')
-rw-r--r--tools/testing/radix-tree/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/radix-tree/Makefile b/tools/testing/radix-tree/Makefile
index e33ac3159b49..604212db9d4b 100644
--- a/tools/testing/radix-tree/Makefile
+++ b/tools/testing/radix-tree/Makefile
@@ -3,7 +3,7 @@ CFLAGS += -I. -g -Wall -D_LGPL_SOURCE
LDFLAGS += -lpthread -lurcu
TARGETS = main
OFILES = main.o radix-tree.o linux.o test.o tag_check.o find_next_bit.o \
- regression1.o regression2.o
+ regression1.o regression2.o regression3.o
targets: $(TARGETS)