summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-09-16 17:37:38 +0300
committerJakub Kicinski <kuba@kernel.org>2022-09-20 21:26:13 +0300
commit684dec3cf45da2b0848298efae4adf3b2aeafeda (patch)
treebd54d1275b0a5b2a247b0af9fb95a7f6efbcbc8e /tools
parent589c6eded10c77a12b7b2cf235b6b19a2bdb91fa (diff)
downloadlinux-684dec3cf45da2b0848298efae4adf3b2aeafeda.tar.xz
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 151c8e499f47. Fixes: 151c8e499f47 ("wireguard: ratelimiter: use hrtimer in selftest") Fixes: e7096c131e51 ("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 'tools')
0 files changed, 0 insertions, 0 deletions