Skip to content

Commit f01a8ac

Browse files
committed
netstack/forwarders: dec ref pkt
1 parent 8eff8d0 commit f01a8ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

intra/netstack/forwarders.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ func (p *processor) deliverPackets() {
179179
if pkt != nil {
180180
if !p.icmp.respond(pkt) {
181181
p.e.InjectInbound(pkt.NetworkProtocolNumber, pkt)
182-
pkt.DecRef()
183182
}
183+
pkt.DecRef()
184184
}
185185
p.mu.Lock()
186186
}

0 commit comments

Comments
 (0)