]> git.baikalelectronics.ru Git - kernel.git/commit
wireguard: selftests: increase default dmesg log size
authorJason A. Donenfeld <Jason@zx2c4.com>
Mon, 29 Nov 2021 15:39:21 +0000 (10:39 -0500)
committerJakub Kicinski <kuba@kernel.org>
Tue, 30 Nov 2021 03:50:29 +0000 (19:50 -0800)
commit5de9096a6edb0e0c8cfddd36190c24142490d914
tree6434d3f0fd86afefc392d3fc40861caf2c66d649
parentebd150eee1632fd22c74b6ed1b0332b1209902df
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: 9fc860d3ae72 ("wireguard: use synchronize_net rather than synchronize_rcu")
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/wireguard/qemu/kernel.config