diff options
Diffstat (limited to 'src/device.h')
-rw-r--r-- | src/device.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device.h b/src/device.h index c71b251..a0960ad 100644 --- a/src/device.h +++ b/src/device.h @@ -23,7 +23,7 @@ struct multicore_worker { struct crypt_queue { spinlock_t lock; - struct list_head queue; + struct list_head list, *head, *tail; union { struct { struct multicore_worker __percpu *worker; @@ -31,7 +31,7 @@ struct crypt_queue { }; struct work_struct work; }; - int len; + atomic_t len; }; struct wireguard_device { |