aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-06-06 10:31:53 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2021-06-06 10:34:29 +0200
commit74a1148c2910da1ba76e91075fa06da6009c1378 (patch)
tree8738c7af496895ca7bfb89c8b000526c85812a73 /tools/testing
parentwireguard: allowedips: add missing __rcu annotation to satisfy sparse (diff)
downloadwireguard-linux-74a1148c2910da1ba76e91075fa06da6009c1378.tar.xz
wireguard-linux-74a1148c2910da1ba76e91075fa06da6009c1378.zip
wireguard: selftests: increase default dmesg log size
The selftests currently parse the kernel log at the end to track potential memory leaks. With these tests now reading off the end of the buffer, due to recent optimizations, some creation messages were lost, making the tests think that there was a free without an alloc. Fix this by increasing the kernel log size. Fixes: 24b70eeeb4f4 ("wireguard: use synchronize_net rather than synchronize_rcu") Cc: stable@vger.kernel.org Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tools/testing')
-rw-r--r--tools/testing/selftests/wireguard/qemu/kernel.config1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/wireguard/qemu/kernel.config b/tools/testing/selftests/wireguard/qemu/kernel.config
index 74db83a0aedd..a9b5a520a1d2 100644
--- a/tools/testing/selftests/wireguard/qemu/kernel.config
+++ b/tools/testing/selftests/wireguard/qemu/kernel.config
@@ -66,6 +66,7 @@ CONFIG_PROC_SYSCTL=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
CONFIG_CONSOLE_LOGLEVEL_DEFAULT=15
+CONFIG_LOG_BUF_SHIFT=18
CONFIG_PRINTK_TIME=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_LEGACY_VSYSCALL_NONE=y