]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
committerAndrea Righi <andrea.righi@canonical.com>
Tue, 4 Jan 2022 08:49:07 +0000 (09:49 +0100)
commit0f4138b7d443dad1812c3334e7e08c82839588c2
treeb615bc3b3813a5fd7c467babb57441926ccb5b34
parent4a386b0e6e8eeeea63a723bf380e11a983113ee1
wireguard: selftests: increase default dmesg log size

BugLink: https://bugs.launchpad.net/bugs/1953731
commit 03ff1b1def73f817e196bf96ab36ac259490bd7c upstream.

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")
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
tools/testing/selftests/wireguard/qemu/kernel.config