aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/peer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/peer.h')
-rw-r--r--src/peer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/peer.h b/src/peer.h
index 90a394f..78cbb61 100644
--- a/src/peer.h
+++ b/src/peer.h
@@ -53,9 +53,10 @@ struct wireguard_peer {
struct rcu_head rcu;
struct list_head peer_list;
u64 internal_id;
- int work_cpu;
struct crypt_queue init_queue, send_queue, receive_queue;
spinlock_t init_queue_lock;
+ atomic_t is_draining;
+ int serial_work_cpu;
};
struct wireguard_peer *peer_create(struct wireguard_device *wg, const u8 public_key[NOISE_PUBLIC_KEY_LEN], const u8 preshared_key[NOISE_SYMMETRIC_KEY_LEN]);