Re: Fwd: I want to report an issue I found with your example (send ring buffer get corrupted)

Oded Katz <[email protected]> Thu, 12 Feb 2026 08:38:37 -0800
Newsgroups com.zx2c4.lists.wireguard
Message-ID <CAApnxP0eN8268t-oSb4njvYu0SaRQN8nZEhkGb4umbUJAJQFuw@mail.gmail.com>
Thank you so much Simon,
I can try those changes myself and let you know if the issue got resolved.

again, thank you.
Oded

On Tue, Feb 10, 2026 at 9:49=E2=80=AFAM Simon Rozman <[email protected]=
i> wrote:
>
> Hi, Oded!
>
> Reviewing your issue closely, I may have found the cause. I have queued
> a proposal to fix it here:
> https://git.zx2c4.com/wintun/commit/driver/wintun.c?id=3D8814f660310c30a9=
297fc640c844c4ab6f27e5d7
>
> However, I need to reinstall my testing environment to test and confirm
> it working.
>
> Lep pozdrav | Best regards,
> Simon Rozman
> Amebis, d. o. o., Kamnik
>
> On 4. 2. 2026 19.19, Oded Katz wrote:
> > Hi,
> >
> > I'm reposting this one as I didn't get any response.
> >
> > We were trying to integrate `wintun` into our product and while
> > testing we found an issue with upload of high UDP throughput on
> > multiple sockets. initially we thought it may be related to our
> > integration. but we managed to find the same issue in your example
> > code.we tried to do some debugging on the example, but it seems like
> > the corruption is on the driver side.
> > the way to reproduce this issue- run the example
> > - run the `send_udp.py` (the attached python script) on 2 different
> > command terminals
> >     - `send_udp.py 10.6.7.8 5201 1450`
> >     - `send_udp.py 10.6.7.8 5201 1400`after some time the
> > `WintunReceivePacket` returns NULL and `GetLastError()` return 13
> > (`ERROR_INVALID_DATA`)
> > many thanks,
> > and I hope you can help us.
> > btw: in the meantime, I'll try to see if I can contribute myself with a=
 fix
> > Oded
>