[PATCH wireguard-go] tun/netstack: bump to latest gvisor

Shengjing Zhu i at zhsj.me
Mon Aug 29 16:04:48 UTC 2022


Hi,

On Mon, Aug 29, 2022 at 11:59 PM Jason A. Donenfeld <Jason at zx2c4.com> wrote:
>
> Hi Shengjing,
>
> Thanks for the patch. I'll apply this. But one question:
>
> On Fri, Aug 19, 2022 at 01:27:28AM +0800, Shengjing Zhu wrote:
> >       dev := &netTun{
> > +             ep:             channel.New(1024, uint32(mtu), ""),
>
> How did you come up with 1024 here?
>

I simply copied from gvisor,
https://github.com/google/gvisor/blob/c8f981f9/pkg/tcpip/link/tun/device.go#L38

> And more generally, how's performance of this compare to what was there
> before?

Sorry, I didn't take a performance test.

-- 
Best regards,
Shengjing Zhu


More information about the WireGuard mailing list