aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/receive.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-05-31 05:01:07 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-05-31 14:23:13 +0200
commit9ca9407452e2ab49754228991a34536781d30d96 (patch)
tree9c3f0c44c62c691a571902e2d69816a935d26220 /src/receive.c
parenttimers: rework handshake reply control flow (diff)
downloadwireguard-monolithic-historical-9ca9407452e2ab49754228991a34536781d30d96.tar.xz
wireguard-monolithic-historical-9ca9407452e2ab49754228991a34536781d30d96.zip
timers: the completion of a handshake also is on key confirmation
Diffstat (limited to '')
-rw-r--r--src/receive.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/receive.c b/src/receive.c
index fb057aa..6051c2c 100644
--- a/src/receive.c
+++ b/src/receive.c
@@ -216,6 +216,7 @@ void packet_consume_data_done(struct sk_buff *skb, struct wireguard_peer *peer,
if (unlikely(used_new_key)) {
peer->sent_lastminute_handshake = false;
packet_send_queue(peer);
+ timers_handshake_complete(peer);
}
keep_key_fresh(peer);