summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2015-11-13 10:36:29 +0000
committermpi <mpi@openbsd.org>2015-11-13 10:36:29 +0000
commit32a12f8b53bcf09e627a8bf1c4f5cf6e3f67c7d7 (patch)
treebe868dd20fd8239f6a679fc4394aabd302fc966b /lib/libc
parentDo not cast malloc(9) results. (diff)
downloadwireguard-openbsd-32a12f8b53bcf09e627a8bf1c4f5cf6e3f67c7d7.tar.xz
wireguard-openbsd-32a12f8b53bcf09e627a8bf1c4f5cf6e3f67c7d7.zip
Check for space on the ring before dequeuing packets.
Allows us to get rid of mq_requeue(9) and IFQ_POLL(9) because wireless drivers use a special queue for management frames. Tested by stsp@, ok dlg@, stsp@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions