aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/queueing.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-09-19 05:16:45 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-09-19 05:54:35 +0200
commitba717fc654c1ecfe5f731f43f7c83800e8a1c296 (patch)
treecd8fef0666bc0ec526fa9fec0fddb60db7cd064e /src/queueing.h
parentreceive: use netif_receive_skb instead of netif_rx (diff)
downloadwireguard-monolithic-historical-ba717fc654c1ecfe5f731f43f7c83800e8a1c296.tar.xz
wireguard-monolithic-historical-ba717fc654c1ecfe5f731f43f7c83800e8a1c296.zip
queueing: no need to memzero struct
Diffstat (limited to 'src/queueing.h')
-rw-r--r--src/queueing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queueing.h b/src/queueing.h
index 30df3a8..48607a1 100644
--- a/src/queueing.h
+++ b/src/queueing.h
@@ -52,10 +52,10 @@ struct crypt_ctx {
struct sk_buff_head packets;
struct sk_buff *skb;
};
+ atomic_t is_finished;
struct wireguard_peer *peer;
struct noise_keypair *keypair;
struct endpoint endpoint;
- atomic_t is_finished;
};
/* Returns either the correct skb->protocol value, or 0 if invalid. */