summaryrefslogtreecommitdiff
path: root/drivers/net/wireguard/netlink.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-09-16 15:37:38 +0100
committerJakub Kicinski <kuba@kernel.org>2022-09-20 11:26:13 -0700
commit64d185003e6f35aa0f08960c9f0d14d83368c54a (patch)
treeabf074ac147a3fcd78946842443cf3ea6ff58b24 /drivers/net/wireguard/netlink.c
parentc89ecb77bf76305e5fcdf03d2c66aab28dd70885 (diff)
downloadwireguard-linux-trimmed-64d185003e6f35aa0f08960c9f0d14d83368c54a.tar.gz
wireguard-linux-trimmed-64d185003e6f35aa0f08960c9f0d14d83368c54a.zip
wireguard: ratelimiter: disable timings test by default
A previous commit tried to make the ratelimiter timings test more reliable but in the process made it less reliable on other configurations. This is an impossible problem to solve without increasingly ridiculous heuristics. And it's not even a problem that actually needs to be solved in any comprehensive way, since this is only ever used during development. So just cordon this off with a DEBUG_ ifdef, just like we do for the trie's randomized tests, so it can be enabled while hacking on the code, and otherwise disabled in CI. In the process we also revert b56cf61d29db. Fixes: b56cf61d29db ("wireguard: ratelimiter: use hrtimer in selftest") Fixes: a8f1bc7bdea3 ("net: WireGuard secure network tunnel") Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions