summaryrefslogtreecommitdiffhomepage
path: root/src/send.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-10-07 15:57:59 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-10-07 16:35:54 +0200
commit4879a1dbeeaf75bd0d13899b21276afd45ead6db (patch)
tree54b4a74ee4dfa2aa5bd4a5f9bf1f65d56e458b8d /src/send.c
parent59ddd348959aa2d52976397e0f0e81335bc502ec (diff)
global: style nits
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/send.c')
-rw-r--r--src/send.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/send.c b/src/send.c
index d4bf1a0..707efbe 100644
--- a/src/send.c
+++ b/src/send.c
@@ -380,8 +380,9 @@ void wg_packet_send_staged_packets(struct wireguard_peer *peer)
* handshake.
*/
skb_queue_walk (&packets, skb) {
- /* 0 for no outer TOS: no leak. TODO: should we use flowi->tos
- * as outer? */
+ /* 0 for no outer TOS: no leak. TODO: at some later point, we
+ * might consider using flowi->tos as outer instead.
+ */
PACKET_CB(skb)->ds = ip_tunnel_ecn_encap(0, ip_hdr(skb), skb);
PACKET_CB(skb)->nonce =
atomic64_inc_return(&key->counter.counter) - 1;