diff options
author | 2021-11-29 10:39:28 -0500 | |
---|---|---|
committer | 2021-11-29 19:50:50 -0800 | |
commit | 4e3fd721710553832460c179c2ee5ce67ef7f1e0 (patch) | |
tree | f4ae66308d001ab0f2a8f31dd563d2c33e0428a6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | wireguard: receive: drop handshakes if queue lock is contended (diff) | |
download | linux-dev-4e3fd721710553832460c179c2ee5ce67ef7f1e0.tar.xz linux-dev-4e3fd721710553832460c179c2ee5ce67ef7f1e0.zip |
wireguard: ratelimiter: use kvcalloc() instead of kvzalloc()
Use 2-factor argument form kvcalloc() instead of kvzalloc().
Link: https://github.com/KSPP/linux/issues/162
Fixes: e7096c131e51 ("net: WireGuard secure network tunnel")
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
[Jason: Gustavo's link above is for KSPP, but this isn't actually a
security fix, as table_size is bounded to 8192 anyway, and gcc realizes
this, so the codegen comes out to be about the same.]
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions