summaryrefslogtreecommitdiffhomepage
path: root/drivers/net/wireguard/device.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-04-22 02:13:42 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2020-04-22 02:13:42 -0600
commit769eafb365ee30352d28d041fbd29c212857cbdb (patch)
treed7070841b032a5b2f8f4cef31ccdf404765d99fd /drivers/net/wireguard/device.h
parent5ac387260b81e1b8b4ed00cc9de0c14ec403d8b0 (diff)
downloadwireguard-linux-jd/unified-crypt-queue.tar.xz
wireguard-linux-jd/unified-crypt-queue.zip
wireguard: unify encryption and decryption workersjd/unified-crypt-queue
By unifying encryption and decryption workers into a single worker, this ensures that encryption and decryption happening at the same time does not result in workqueues stepping on each other and creating unnecessary work for the scheduler. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'drivers/net/wireguard/device.h')
-rw-r--r--drivers/net/wireguard/device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireguard/device.h b/drivers/net/wireguard/device.h
index b15a8be9d816..8c63903e6632 100644
--- a/drivers/net/wireguard/device.h
+++ b/drivers/net/wireguard/device.h
@@ -38,7 +38,7 @@ struct crypt_queue {
struct wg_device {
struct net_device *dev;
- struct crypt_queue encrypt_queue, decrypt_queue;
+ struct crypt_queue crypt_queue;
struct sock __rcu *sock4, *sock6;
struct net *creating_net;
struct noise_static_identity static_identity;