]> 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)
commit3e9c971da079abd28b8c7cc29eb4d81b518af2ab
tree6434d3f0fd86afefc392d3fc40861caf2c66d649
parentcb916fb7074c455eb742f55f559064d0b864e5f3
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: 5eae46ad6426 ("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