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 | a82503f55015e9fcf4fccbedcdb080c7a584c928 (patch) | |
tree | 55c16416b4f2b0f854cd6b6332fecec4aa220208 /src/peer.c | |
parent | 31384d62f72c559abc11487195529f0b93be3a72 (diff) |
send: consider dropped stage packets to be dropped
Suggested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/peer.c')
-rw-r--r-- | src/peer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -192,7 +192,7 @@ static void kref_release(struct kref *refcount) /* Remove any lingering packets that didn't have a chance to be * transmitted. */ - skb_queue_purge(&peer->staged_packet_queue); + wg_packet_purge_staged_packets(peer); /* Free the memory used. */ call_rcu_bh(&peer->rcu, rcu_release); |