diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-08 22:54:32 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-09 01:57:47 +0200 |
commit | f985de2c5acc9a9086829d52237fce0d2a663277 (patch) | |
tree | 28ce187bcd7aad1e03ab92f7ec9695d343f44973 /src/send.c | |
parent | main: change module description (diff) | |
download | wireguard-monolithic-historical-f985de2c5acc9a9086829d52237fce0d2a663277.tar.xz wireguard-monolithic-historical-f985de2c5acc9a9086829d52237fce0d2a663277.zip |
global: give if statements brackets and other cleanups
Diffstat (limited to 'src/send.c')
-rw-r--r-- | src/send.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -305,9 +305,9 @@ void wg_packet_encrypt_worker(struct work_struct *work) skb_walk_null_queue_safe(first, skb, next) { if (likely(encrypt_packet(skb, PACKET_CB(first)->keypair, - &simd_context))) + &simd_context))) { wg_reset_packet(skb); - else { + } else { state = PACKET_STATE_DEAD; break; } |