diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2016-11-11 18:45:25 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2016-11-11 18:45:25 +0000 |
commit | ddbc0cbc4f750587926b35b597bd3c1a0233d951 (patch) | |
tree | 7bc22035824572151d781ee55524d8b173e203e7 /usr.bin/vi/LAYOUT | |
parent | df57cc472526807f446d178b1e134d54232f2907 (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/vi/LAYOUT')
0 files changed, 0 insertions, 0 deletions