summaryrefslogtreecommitdiff
path: root/drivers/net/wireguard/peer.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-04-21 17:03:25 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2021-05-19 18:05:55 +0200
commit1fa168915318b5acc4a0eb437c04a366dc6ba8c0 (patch)
tree292bfbaa4a8ec254085f987820c8df9f0602b1ea /drivers/net/wireguard/peer.c
parentce66a19b21f704230b5ba75283e385cabd0ed836 (diff)
downloadwireguard-linux-trimmed-1fa168915318b5acc4a0eb437c04a366dc6ba8c0.tar.gz
wireguard-linux-trimmed-1fa168915318b5acc4a0eb437c04a366dc6ba8c0.zip
wireguard: allowedips: initialize list head in selftest
The randomized trie tests weren't initializing the dummy peer list head, resulting in a NULL pointer dereference when used. Fix this by initializing it in the randomized trie test, just like we do for the static unit test. While we're at it, all of the other strings like this have the word "self-test", so add it to the missing place here. Fixes: a8f1bc7bdea3 ("net: WireGuard secure network tunnel") Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'drivers/net/wireguard/peer.c')
0 files changed, 0 insertions, 0 deletions