diff options
author | 2015-02-11 04:15:50 +0000 | |
---|---|---|
committer | 2015-02-11 04:15:50 +0000 | |
commit | 90354c4f7e383d17a3c619aa30e008860d8c61a7 (patch) | |
tree | 76a172e2cf8961480ea39ae2979fe4595081bae9 /lib/libc | |
parent | Guenther has plans for OPENSSL_NO_CMS, so revert this for the moment. (diff) | |
download | wireguard-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