summaryrefslogtreecommitdiffstats
path: root/src/mpq.h
diff options
context:
space:
mode:
authorMatt Dunwoodie <ncon@mail.noconroy.net>2019-09-22 21:16:18 +0200
committerMatt Dunwoodie <ncon@mail.noconroy.net>2019-09-22 21:16:18 +0200
commitb4e5605a406b41e5edc9256e4f0cca1170ebadec (patch)
tree4d332800b39814251d9a88c254c37a7218de26c6 /src/mpq.h
parentAdd more documentation :) (diff)
downloadwireguard-openbsd-b4e5605a406b41e5edc9256e4f0cca1170ebadec.tar.xz
wireguard-openbsd-b4e5605a406b41e5edc9256e4f0cca1170ebadec.zip
Be more strict on state checking
Diffstat (limited to 'src/mpq.h')
-rw-r--r--src/mpq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mpq.h b/src/mpq.h
index 4ebeaa3328a..1629ccc92f3 100644
--- a/src/mpq.h
+++ b/src/mpq.h
@@ -86,6 +86,7 @@ mpq_serialize_leave(struct mpq *mpq)
void
mpq_enqueue(struct mpq *mpq, struct mbuf *m)
{
+ /* TODO time based dropping of packets */
CLR(m->m_flags, M_LINK0);
mtx_enter(&mpq->mpq_mtx);
ml_enqueue(&mpq->mpq_list, m);