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 2a0e2c7..e2fd205 100644 --- a/src/device.h +++ b/src/device.h @@ -10,13 +10,13 @@ #include "allowedips.h" #include "hashtables.h" #include "cookie.h" +#include "mpmc_ptr_ring.h" #include <linux/types.h> #include <linux/netdevice.h> #include <linux/workqueue.h> #include <linux/mutex.h> #include <linux/net.h> -#include <linux/ptr_ring.h> struct wireguard_device; @@ -26,7 +26,7 @@ struct multicore_worker { }; struct crypt_queue { - struct ptr_ring ring; + struct mpmc_ptr_ring ring; union { struct { struct multicore_worker __percpu *worker; |