don't pin listenIn

This commit is contained in:
JackDoan
2026-04-14 14:15:39 -05:00
parent a8a4090831
commit 47d17fc054

View File

@@ -7,7 +7,6 @@ import (
"io"
"net/netip"
"os"
"runtime"
"sync/atomic"
"time"
@@ -283,8 +282,6 @@ func (f *Interface) listenOut(i int) {
}
func (f *Interface) listenIn(reader io.ReadWriteCloser, i int) {
runtime.LockOSThread()
packet := make([]byte, mtu)
out := make([]byte, mtu)
fwPacket := &firewall.Packet{}