diff options
author | 2016-11-06 12:12:20 +0100 | |
---|---|---|
committer | 2016-11-06 12:12:20 +0100 | |
commit | 6e96d730778ede3be025d0badc7af7478bd988a1 (patch) | |
tree | b34cc5884850ae7f48823fca6d77810481745f9d /src/peer.h | |
parent | chacha20poly1305: cleanup magic constants (diff) | |
download | wireguard-linux-compat-6e96d730778ede3be025d0badc7af7478bd988a1.tar.xz wireguard-linux-compat-6e96d730778ede3be025d0badc7af7478bd988a1.zip |
data: we care about per-peer, not per-device, inflight encryptions
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/peer.h')
-rw-r--r-- | src/peer.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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]); |