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