diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-09-15 22:04:22 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-09-15 23:41:22 +0200 |
commit | 3f1cc6f8911228fda393b4c90ed995637de10227 (patch) | |
tree | 18c9183c7664548b90c83d55ffe74afd526d337f /src/send.c | |
parent | data: avoid running parallel/serial work on the same CPU (diff) | |
download | wireguard-monolithic-historical-3f1cc6f8911228fda393b4c90ed995637de10227.tar.xz wireguard-monolithic-historical-3f1cc6f8911228fda393b4c90ed995637de10227.zip |
data: switch to multiconsumer model with spinlocks
Diffstat (limited to '')
-rw-r--r-- | src/send.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -111,7 +111,7 @@ void packet_send_keepalive(struct wireguard_peer *peer) struct sk_buff *skb; struct sk_buff_head queue; - if (list_empty(&peer->init_queue.list)) { + if (list_empty(&peer->init_queue.queue)) { skb = alloc_skb(DATA_PACKET_HEAD_ROOM + MESSAGE_MINIMUM_LENGTH, GFP_ATOMIC); if (unlikely(!skb)) return; |