summaryrefslogtreecommitdiffhomepage
path: root/src/queueing.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-20 18:46:30 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-31 17:22:49 +0100
commitda8fe333327e8020170fcfef88a9e7fab6197377 (patch)
treef516f8be38c9520c238acbe4bce525fbafc4ede6 /src/queueing.h
parent3b520e44d0461b9dc216eb3b9781e389f2fbbec2 (diff)
global: accept decent check_patch.pl suggestions
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
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 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. */