diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-19 04:41:13 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-31 17:22:49 +0100 |
commit | 9d930f5d183da66f0859a2c21cdd5e9919b84db4 (patch) | |
tree | a145dcb8d279c3fcca66b32e0f9ac3e2ea8854c8 /src/send.c | |
parent | selftest: initialize mutex in routingtable selftest (diff) | |
download | wireguard-monolithic-historical-9d930f5d183da66f0859a2c21cdd5e9919b84db4.tar.xz wireguard-monolithic-historical-9d930f5d183da66f0859a2c21cdd5e9919b84db4.zip |
stats: more robust accounting
Diffstat (limited to 'src/send.c')
-rw-r--r-- | src/send.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -149,6 +149,7 @@ static inline bool skb_encrypt(struct sk_buff *skb, struct noise_keypair *keypai skb_checksum_help(skb); /* Only after checksumming can we safely add on the padding at the end and the header. */ + skb_set_inner_network_header(skb, 0); header = (struct message_data *)skb_push(skb, sizeof(struct message_data)); header->header.type = cpu_to_le32(MESSAGE_DATA); header->key_idx = keypair->remote_index; |