diff options
Diffstat (limited to 'src/device.c')
-rw-r--r-- | src/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c index a06750a..a4a1104 100644 --- a/src/device.c +++ b/src/device.c @@ -307,7 +307,7 @@ static int newlink(struct net *src_net, struct net_device *dev, struct nlattr *t wg->incoming_handshakes_worker = alloc_percpu(struct handshake_worker); if (!wg->incoming_handshakes_worker) goto error_2; - for_each_possible_cpu(cpu) { + for_each_possible_cpu (cpu) { per_cpu_ptr(wg->incoming_handshakes_worker, cpu)->wg = wg; INIT_WORK(&per_cpu_ptr(wg->incoming_handshakes_worker, cpu)->work, packet_process_queued_handshake_packets); } |