diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-25 16:37:38 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-27 03:11:31 +0200 |
commit | 1e674d8af37b3f2ba4cb233fbb335fb701d185ad (patch) | |
tree | 0c1fe2d097ea58ac70fd506c7ce9be94a25e86d6 /src/timers.c | |
parent | allowedips: fix up macros and annotations (diff) | |
download | wireguard-monolithic-historical-1e674d8af37b3f2ba4cb233fbb335fb701d185ad.tar.xz wireguard-monolithic-historical-1e674d8af37b3f2ba4cb233fbb335fb701d185ad.zip |
send: consider dropped stage packets to be dropped
Suggested-by: Andrew Lunn <andrew@lunn.ch>
Diffstat (limited to '')
-rw-r--r-- | src/timers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timers.c b/src/timers.c index 22eb1ee..91ffbbc 100644 --- a/src/timers.c +++ b/src/timers.c @@ -71,7 +71,7 @@ static void wg_expired_retransmit_handshake(struct timer_list *timer) /* We drop all packets without a keypair and don't try again, * if we try unsuccessfully for too long to make a handshake. */ - skb_queue_purge(&peer->staged_packet_queue); + wg_packet_purge_staged_packets(peer); /* We set a timer for destroying any residue that might be left * of a partial exchange. |