diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-20 18:46:30 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-31 17:22:49 +0100 |
commit | 328e3861dcb034d38c7cc10007067abd3eebe39f (patch) | |
tree | 169962c2c1a1aa50f6ff87f1d40993c6e10e6b8e /src/queueing.h | |
parent | compat: fix up stat calculation for udp tunnel (diff) | |
download | wireguard-monolithic-historical-328e3861dcb034d38c7cc10007067abd3eebe39f.tar.xz wireguard-monolithic-historical-328e3861dcb034d38c7cc10007067abd3eebe39f.zip |
global: accept decent check_patch.pl suggestions
Diffstat (limited to 'src/queueing.h')
-rw-r--r-- | src/queueing.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queueing.h b/src/queueing.h index 2b79639..bf66c59 100644 --- a/src/queueing.h +++ b/src/queueing.h @@ -45,7 +45,7 @@ struct packet_cb { atomic_t state; u8 ds; }; -#define PACKET_PEER(skb) ((struct packet_cb *)skb->cb)->keypair->entry.peer +#define PACKET_PEER(skb) (((struct packet_cb *)skb->cb)->keypair->entry.peer) #define PACKET_CB(skb) ((struct packet_cb *)skb->cb) /* Returns either the correct skb->protocol value, or 0 if invalid. */ |