]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
conn: windows: set count=0 on retry
authorJason A. Donenfeld <Jason@zx2c4.com>
Tue, 11 May 2021 14:47:17 +0000 (16:47 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 11 May 2021 14:47:17 +0000 (16:47 +0200)
commit5846b622837e04dbc35b153d9ceda7fd66397520
treeabf78d154e11c6df4ef83db7fc9cb2edaa8f4d1b
parent9844c74f67ecb5dcca92646dd2c23fcfa21c0703
conn: windows: set count=0 on retry

When retrying, if count is not 0, we forget to dequeue another request,
and so the ring fills up and errors out.

Reported-by: Sascha Dierberg <dierberg@dresearch-fe.de>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
conn/bind_windows.go