This commit is contained in:
JackDoan
2026-04-21 14:02:15 -05:00
parent ad6b918e4d
commit 78af44068f

View File

@@ -90,7 +90,7 @@ func newTunFd(fd int, shutdownFd int) (*tunFile, error) {
{Fd: int32(shutdownFd), Events: unix.POLLIN}, {Fd: int32(shutdownFd), Events: unix.POLLIN},
}, },
segBuf: make([]byte, tunSegBufSize), segBuf: make([]byte, tunSegBufCap),
gsoIovs: make([]unix.Iovec, 2, 2+gsoInitialPayIovs), gsoIovs: make([]unix.Iovec, 2, 2+gsoInitialPayIovs),
} }