aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/receive.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-09-15 03:45:41 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-09-15 16:40:56 +0200
commit9c1a628121770c6d16a500cd2a1886076e4d8e88 (patch)
treececee0da0d16a59285daa7401b7d86f46255b6c3 /src/receive.c
parentdata: reorganize and edit new queuing code (diff)
downloadwireguard-monolithic-historical-9c1a628121770c6d16a500cd2a1886076e4d8e88.tar.xz
wireguard-monolithic-historical-9c1a628121770c6d16a500cd2a1886076e4d8e88.zip
Try out spinlocks for multiconsumer
Diffstat (limited to 'src/receive.c')
-rw-r--r--src/receive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/receive.c b/src/receive.c
index 86d522b..0a91065 100644
--- a/src/receive.c
+++ b/src/receive.c
@@ -147,7 +147,7 @@ static void receive_handshake_packet(struct wireguard_device *wg, struct sk_buff
void packet_process_queued_handshake_packets(struct work_struct *work)
{
- struct wireguard_device *wg = container_of(work, struct handshake_worker, work)->wg;
+ struct wireguard_device *wg = container_of(work, struct multicore_worker, work)->wg;
struct sk_buff *skb;
while ((skb = skb_dequeue(&wg->incoming_handshakes)) != NULL) {