diff options
Diffstat (limited to 'src/device.h')
-rw-r--r-- | src/device.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/device.h b/src/device.h index 4d0144e..854bc3d 100644 --- a/src/device.h +++ b/src/device.h @@ -27,13 +27,14 @@ struct multicore_worker { struct crypt_queue { struct ptr_ring ring; - union { - struct { - struct multicore_worker __percpu *worker; - int last_cpu; - }; - struct work_struct work; - }; + struct multicore_worker __percpu *worker; + int last_cpu; +}; + +struct prev_queue { + struct sk_buff *head, *tail, *peeked; + struct { struct sk_buff *next, *prev; } empty; // Match first 2 members of struct sk_buff. + atomic_t count; }; struct wg_device { |