We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d643f97 commit 910da8eCopy full SHA for 910da8e
intra/netstack/forwarders.go
@@ -27,6 +27,7 @@ import (
27
"encoding/binary"
28
"fmt"
29
"math/rand"
30
+ "runtime/debug"
31
"sync"
32
"time"
33
@@ -142,6 +143,7 @@ type processor struct {
142
143
144
// start starts the processor goroutine; thread-safe.
145
func (p *processor) start(wg *sync.WaitGroup) {
146
+ debug.SetPanicOnFault(true)
147
// defer core.RecoverFn("ns.forwaders.start", p.e.notifyRestart)
148
defer core.Recover(core.Exit11, "ns.forwarder.start")
149
@@ -169,6 +171,7 @@ func (p *processor) deliverPackets() {
169
171
code = core.DontExit
170
172
}
173
174
175
defer core.Recover(code, "ns.forwarder.deliverPackets")
176
177
p.mu.Lock()
0 commit comments