aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/queueing.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-07-02 14:15:35 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-07-02 14:15:46 +0200
commit774a69cc38694e770d78a8caba6c6ed8bc526e4b (patch)
tree898c365811096ab062bcdc3eeaee74208bafd18f /src/queueing.h
parentpeer: use LIST_HEAD macro (diff)
downloadwireguard-monolithic-historical-774a69cc38694e770d78a8caba6c6ed8bc526e4b.tar.xz
wireguard-monolithic-historical-774a69cc38694e770d78a8caba6c6ed8bc526e4b.zip
receive: queue dead packets to napi queue instead of empty rx_queue
Diffstat (limited to 'src/queueing.h')
-rw-r--r--src/queueing.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/queueing.h b/src/queueing.h
index f8de703..e49a464 100644
--- a/src/queueing.h
+++ b/src/queueing.h
@@ -177,8 +177,7 @@ static inline void wg_queue_enqueue_per_peer(struct crypt_queue *queue,
wg_peer_put(peer);
}
-static inline void wg_queue_enqueue_per_peer_napi(struct crypt_queue *queue,
- struct sk_buff *skb,
+static inline void wg_queue_enqueue_per_peer_napi(struct sk_buff *skb,
enum packet_state state)
{
/* We take a reference, because as soon as we call atomic_set, the