summaryrefslogtreecommitdiff
path: root/usr.bin/at
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2016-11-11 18:45:25 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2016-11-11 18:45:25 +0000
commitddbc0cbc4f750587926b35b597bd3c1a0233d951 (patch)
tree7bc22035824572151d781ee55524d8b173e203e7 /usr.bin/at
parentdf57cc472526807f446d178b1e134d54232f2907 (diff)
Reorder atomic operations dealing with sc_tx_avail
The atomic decrement of the number of available descriptors must be performed before sending the RNDIS message to the hypervisor so that packet transmit completion that may execute in parallel won't increase the value past the maximum.
Diffstat (limited to 'usr.bin/at')
0 files changed, 0 insertions, 0 deletions