aboutsummaryrefslogtreecommitdiff
path: root/conn/mark_default.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-04-08 18:17:59 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2021-04-09 14:26:08 -0600
commit75526d60714ce2e2e967830b42422788fb1b7498 (patch)
treee35707b1ee2775b4b22b55eabe193bf9e5c01b84 /conn/mark_default.go
parentfbf97502cfcfcf35e7963e02b4412e46396334a1 (diff)
downloadwireguard-go-75526d60714ce2e2e967830b42422788fb1b7498.tar.gz
wireguard-go-75526d60714ce2e2e967830b42422788fb1b7498.zip
conn: windows: compare head and tail properly
By not comparing these with the modulo, the ring became nearly never full, resulting in completion queue buffers filling up prematurely. Reported-by: Joshua Sjoding <joshua.sjoding@scjalliance.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'conn/mark_default.go')
0 files changed, 0 insertions, 0 deletions