summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/stack_protector.c
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2016-03-21 21:16:01 +0000
committerstsp <stsp@openbsd.org>2016-03-21 21:16:01 +0000
commit27819d7683f9f9b18f11b5a3b39efe631b05126b (patch)
treed777369865c394f8075f0c9ba6711b38f927182a /lib/libc/sys/stack_protector.c
parents/the pmap_init_module/the pmap module/ (diff)
downloadwireguard-openbsd-27819d7683f9f9b18f11b5a3b39efe631b05126b.tar.xz
wireguard-openbsd-27819d7683f9f9b18f11b5a3b39efe631b05126b.zip
Fix watchdog timeouts and dropped frames under load with RT2860 ral(4).
On full tx ring, ring->cur wraps to an active tx descriptor. Passing that wrapped value to the card was observed to cause general flakiness. Fix prevents the wrap at the cost of reducing usable tx descriptors by one. Patch by Richard Procter via bugs@ Tested by Richard on RT2860 and by me on RT3090 and RT2700. ok mpi@ dlg@
Diffstat (limited to 'lib/libc/sys/stack_protector.c')
0 files changed, 0 insertions, 0 deletions