From 7cc2e9953226d80e1fe20bbf51d5e5fdd00851f4 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 6 Nov 2016 12:12:20 +0100 Subject: data: we care about per-peer, not per-device, inflight encryptions --- src/peer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/peer.h') diff --git a/src/peer.h b/src/peer.h index f68d7f0..895eb77 100644 --- a/src/peer.h +++ b/src/peer.h @@ -40,6 +40,9 @@ struct wireguard_peer { struct rcu_head rcu; struct list_head peer_list; uint64_t internal_id; +#ifdef CONFIG_WIREGUARD_PARALLEL + atomic_t parallel_encryption_inflight; +#endif }; struct wireguard_peer *peer_create(struct wireguard_device *wg, const u8 public_key[NOISE_PUBLIC_KEY_LEN]); -- cgit v1.2.3-59-g8ed1b