diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-07-02 14:15:35 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-07-02 14:15:46 +0200 |
commit | bc7840be16f7e4e116cada45b7ce8a2477e6b571 (patch) | |
tree | 8e7f2f74983d6dfe9fc9e83110d287021253deb9 /src/queueing.h | |
parent | f64cd4fd2935d0e71c549199937c3dd2abd6cb0f (diff) |
receive: queue dead packets to napi queue instead of empty rx_queue
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/queueing.h')
-rw-r--r-- | src/queueing.h | 3 |
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 |