summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2015-02-11 04:15:50 +0000
committerkettenis <kettenis@openbsd.org>2015-02-11 04:15:50 +0000
commit90354c4f7e383d17a3c619aa30e008860d8c61a7 (patch)
tree76a172e2cf8961480ea39ae2979fe4595081bae9 /lib/libc
parentGuenther has plans for OPENSSL_NO_CMS, so revert this for the moment. (diff)
downloadwireguard-openbsd-90354c4f7e383d17a3c619aa30e008860d8c61a7.tar.xz
wireguard-openbsd-90354c4f7e383d17a3c619aa30e008860d8c61a7.zip
Eliminate sc_tx_cnt. Instead use an unsigned integer for sc_tx_prod and
sc_tx_cont and let them wrap around. Make sure we don't fill the last descriptor on the ring such that we don't confuse a completely filled ring with a completely empty one. Also make sure we don't post the same descriptors twice.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions