]> git.baikalelectronics.ru Git - kernel.git/commit
wireguard: selftests: test multiple parallel streams
authorJason A. Donenfeld <Jason@zx2c4.com>
Mon, 22 Feb 2021 16:25:45 +0000 (17:25 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 23 Feb 2021 23:54:07 +0000 (15:54 -0800)
commit1399c9ac93a8149300df9bf79396dfc607b8f6ac
treefeac64c95e48802fbe3d61cbb5f8821508bf254b
parent12914c662115dac54669d171f06ba4b2d794288c
wireguard: selftests: test multiple parallel streams

In order to test ndo_start_xmit being called in parallel, explicitly add
separate tests, which should all run on different cores. This should
help tease out bugs associated with queueing up packets from different
cores in parallel. Currently, it hasn't found those types of bugs, but
given future planned work, this is a useful regression to avoid.

Fixes: 0c73bbc77a76 ("net: WireGuard secure network tunnel")
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/wireguard/netns.sh